Hi,
I'm trying to authenticate the sogo users against a ldap server.
The authentication succeeds when the connexion to the ldapserver is anonymous.
But, when I specify the bindDn and the bindPassword fields, the connexion is
still made in anonymous mode. The attempt of connexion is made with the dn
cn=value of user , value of baseDN.
Here is my config file:
SOGoACLsSendEMailNotifications = "YES";
SOGoAppointmentSendEMailNotifications = "YES";
SOGoAppointmentSendEMailReceipts = "YES";
SOGoCalendarDefaultRoles = ();
SOGoFoldersSendEMailNotifications = "NO";
SOGoLDAPContactInfoAttribute="displayName";
SOGoPasswordChangeEnabled="NO";
SOGoIMAPServer = "imaps://mailstore2.ensicaen.fr";
SOGoSieveServer = "sieve://mailstore2.ensicaen.fr:4190";
SOGoVacationEnabled = "YES";
SOGoForwardEnabled = "YES";
SOGoSieveScriptsEnabled = "YES";
SOGoMailingMechanism = "sendmail";
SOGoLanguage = "French";
SOGoMailDomain = "ensicaen.fr";
SOGoMemcachedHost = "127.0.0.1";
SOGoProfileURL =
"mysql://xxxx:[email protected]:3306/sogo/sogo_user_profile";
SOGoTimeZone = "Europe/Paris";
SOGoDraftsFolderName = "Brouillons";
SOGoSentFolderName = "Sent";
SOGoTrashFolderName = "Trash";
SOGoUserSources = (
{
CNFieldName = "cn";
IDFieldName = "uid";
UIDFieldName = "uid";
baseDN = "dc=ensicaen,dc=fr";
bindDN = "cn=mail,dc=ensicaen,dc=fr";
bindPassword = "xxxx";
displayName = "Adresses partagees";
hostname = "ldap.ensicaen.fr";
port = "389";
type = "ldap";
id = "ldap-server";
canAuthenticate = "yes";
isAddressBook = "yes";
type="ldap";
MailFieldNames=("aensicMailAliasCommonName");
filter="&(|(ObjectClass='aensicPersonnel')(ObjectClass='aensicStudent'))(aensicMailStatus='internal')";
}
);
WOMessageUseUTF8 = "YES";
WOPort = "20000";
};
}
--
[email protected]
https://inverse.ca/sogo/lists