On 13-06-27 3:57 PM, Paul Pathiakis wrote:
cn=John Smith,ou=people,dc=company,dc=com (Please note that I do not have a
container of uid. Uid is attribute of the CN)
SOGoUserSources = (
{
type = ldap;
CNFieldName = "cn";
IDFieldName = "cn";
UIDFieldName = "cn";
baseDN = "ou=people,dc=company,dc=com";
bindDN = "cn=sogo,ou=people,dc=company,dc=com";
bindPassword = "qwerty";
IMAPHostFieldName = ;
canAuthenticate = YES;
displayName = "Shared Addresses";
hostname = "ldap://<LDAP Server IP>:389";
id = public;
isAddressBook = YES;
}
);
I believe this is a major step in getting this work.
You need to use indirect binds:
bindFields = (cn, uid);
Something like that:
SOGoUserSources = (
{
type = ldap;
CNFieldName = "cn";
UIDFieldName = "uid";
bindFields = (cn, uid);
baseDN = "ou=people,dc=company,dc=com";
bindDN = "cn=sogo,ou=people,dc=company,dc=com";
bindPassword = "qwerty";
canAuthenticate = YES;
displayName = "Shared Addresses";
hostname = "ldap://<LDAP Server IP>:389";
id = public;
isAddressBook = YES;
}
);
For more info, see page 19 of the configuration guide.
--
users@sogo.nu
https://inverse.ca/sogo/lists