Hello,

Sometimes we got the following messages :

Aug 17 03:23:12 sogod [18877]: [ERROR] <0x0x7fc43ae199c0[LDAPSource]>
<NSException: 0x7fc43f80aaa0> NAME:LDAPException REASON:operation bind
failed: Can't contact LDAP server (0xFFFFFFFF) INFO:{"error_code" = "-1";
login="CN=ldap,CN=Users,DC=ariane,DC=intra"; }

this issue comes ramdomly, even in the night when nobody use it...

I do not find anything more to help in the logs, even in the Samba ADs
logs...

here is my sogo.conf ldap part :

 /* LDAP authentication */
  SOGoUserSources = (
        { // ------------- Utilisateurs -------------
            CNFieldName = cn;
            IDFieldName = cn;
            UIDFieldName = userPrincipalName;
            IMAPLoginFieldName = sAMAccountName;
            baseDN = "OU=albertville,DC=ariane,DC=intra";
            bindDN = "CN=ldap,CN=Users,DC=ariane,DC=intra";
            bindPassword =mypassword;
            bindFields = (
                sAMAccountName,
                userPrincipalName
            );
            canAuthenticate = YES;
            isAddressBook = YES;
            displayName = "Utilisateurs Active Directory";
            // mapping AD du champ Service et Societe
            mapping = {
                ou = ("department","ou");
                o = ("company","o");
            };
            //filter = "objectCategory='person' AND objectClass='user'"
            hostname = "ldap://Samba4AD2.ariane.intra:389
ldap://Samba4AD1.ariane.intra:389";;
            id = "ariane.intra";
            type = ldap;
        },
        { // --------------- Groupes ----------------
            CNFieldName = cn;
            IDFieldName = cn;
            UIDFieldName = cn;
            baseDN = "OU=Organigramme,DC=ariane,DC=intra";
            bindDN = "CN=ldap,CN=Users,DC=ariane,DC=intra";
            bindPassword = mypassword;
            bindFields = (sAMAccountName);
            hostname = "ldap://Samba4AD2.ariane.intra:389
ldap://Samba4AD1.ariane.intra:389";;
            canAuthenticate = YES;
            isAddressBook = YES;
            displayName = "Groupes Active Directory";
            id = "group.ariane.intra";
            type = ldap;
        }

Best regards

Samuel
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to