This user is me. I login to AD every day. Password and account is valid. I tried also with other test users and result was the same.
Regards, BK > -----Original Message----- > From: Denis Medvedev [mailto:[email protected]] > Sent: Friday, January 13, 2012 2:23 PM > To: [email protected] > Subject: Re: [SOGo] Active Directory LDAP user source > > Please check if this user > - has not been expired in AD > - has not set a "change password on first logon" checkbox > > > 13 января 2012, 14:37 от Bartłomiej Kluska <[email protected]>: > > Hi All > > > > I'm trying to add an external user source (MS Active Directory) to the ZEG > > 2 appliance configuration. I can't login using any domain > > account at all. Error code I see on the web interface is: > > > > Login failed due to unhandled error case: -1 > > > > Error in the logs: > > > > Jan 13 09:59:52 sogod [17362]: <0x0x22e5d80[NGLdapConnection]> bind - > > ldap_result call result: 97 > > Jan 13 09:59:52 sogod [17362]: <0x0x22e5d80[NGLdapConnection]> bind - > > ldap_parse_result - ctrls is NULL > > Jan 13 09:59:52 sogod [17362]: SOGoRootPage Login for user 'kluska' might > > not have worked - password policy: -1 grace: -1 expire: > > -1 bound: 0 > > localhost - - [13/Jan/2012:09:59:52 GMT] "POST /SOGo/connect HTTP/1.1" 403 > > 31/41 0.053 - - 16K > > > > My config file (/home/sogo/GNUstep/Defaults/.GNUstepDefaults): > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" > > "http://www.gnustep.org/plist-0_9.xml"> > > <plist version="0.9"> > > <dict> > > <key>NSGlobalDomain</key> > > <dict> > > </dict> > > <key>sogod</key> > > <dict> > > <key>SOGoUserSources</key> > > <array> > > <dict> > > <key>CNFieldName</key> > > <string>cn</string> > > <key>IDFieldName</key> > > <string>cn</string> > > <key>UIDFieldName</key> > > <string>sAMAccountName</string> > > <key>baseDN</key> > > > > <string>CN=Person,CN=Schema,CN=Configuration,DC=abc,DC=local</string> > > <key>bindDN</key> > > <string>CN=sugar, > > OU=Verzeichnisdienste,DC=abc,DC=local</string> > > <key>bindPassword</key> > > <string>testpassword</string> > > <key>canAuthenticate</key> > > <string>YES</string> > > <key>displayName</key> > > <string>Active Directory</string> > > <key>hostname</key> > > <string>smdc005.abc.local</string> > > <key>id</key> > > <string>directory</string> > > <key>isAddressBook</key> > > <string>YES</string> > > <key>passwordPolicy</key> > > <string>YES</string> > > <key>port</key> > > <string>389</string> > > <key>scope</key> > > <string>SUB</string> > > <key>type</key> > > <string>ldap</string> > > </dict> > > <dict> > > <key>CNFieldName</key> > > <string>cn</string> > > <key>IDFieldName</key> > > <string>uid</string> > > <key>UIDFieldName</key> > > <string>uid</string> > > <key>baseDN</key> > > <string>ou=people,dc=example,dc=com</string> > > <key>bindDN</key> > > <string>cn=admin,dc=example,dc=com</string> > > <key>bindPassword</key> > > <string>sogo</string> > > <key>canAuthenticate</key> > > <string>YES</string> > > <key>displayName</key> > > <string>local-ldap</string> > > <key>hostname</key> > > <string>localhost</string> > > <key>id</key> > > <string>local-ldap</string> > > <key>isAddressBook</key> > > <string>YES</string> > > <key>passwordPolicy</key> > > <string>NO</string> > > <key>port</key> > > <string>3389</string> > > <key>scope</key> > > <string>SUB</string> > > <key>type</key> > > <string>ldap</string> > > </dict> > > </array> > > <key>WOWorkersCount</key> > > <string>3</string> > > </dict> > > </dict> > > </plist> > > > > When I test this new user-source, the result is "Success" > > > > When I set "passwordPolicy" to "NO", on the web interface I get an error: > > "Wrong username or password." > > and in logs I can see the following: > > > > Jan 13 10:09:29 sogod [18034]: SOGoRootPage Login for user 'kluska' might > > not have worked - password policy: 65535 grace: -1 > > expire: -1 bound: 0 > > localhost - - [13/Jan/2012:10:09:29 GMT] "POST /SOGo/connect HTTP/1.1" 403 > > 34/41 0.005 - - 0 > > > > I tried to search the list but could find any problem like this. > > Anyone has any idea? > > > > thanks > > cheers! > > > > Bartek > > > > -- > > [email protected] > > https://inverse.ca/sogo/lists > > -- [email protected] https://inverse.ca/sogo/lists
