Hello mrito

Am 2013-08-31 16:03, schrieb [email protected]:
> Thanks for your help Christian. I just realized that I forgot to create a
> sogo database and that is the reason I am receiving the error message.
> 
> Going forward, I've created an ldap user test1 & test2 but when I login on
> my Sogo Portal it still do not allow me to login. Then as per checking on
> the log, I receive the following error messages:
> Aug 31 09:31:22 sogod [2207]: [ERROR] <0x0xb4d2f04c[LDAPSource]>
> <NSException: 0xb4d2060c> NAME:LDAPException REASON:operation bind failed:
> Invalid credentials (0x31) INFO:{login =
> "uid=sogo,ou=admin,dc=oc,dc=local"; }
> Aug 31 09:31:22 sogod [2207]: SOGoRootPage Login from '192.168.43.10' for
> user 'admin' might not have worked - password policy: 65535  grace: -1 
> expire: -1  bound: 0
< ... >
> 
> Below if my LDAP config on sogo.conf:
> /* LDAP authentication example */
>   SOGoUserSources = (
>     {
>       type = ldap;
>       CNFieldName = cn;
>       UIDFieldName = uid;
>       IDFieldName = uid; // first field of the DN for direct binds
>       bindFields = (uid, mail); // array of fields to use for indirect binds
>       baseDN = "ou=people,dc=oc,dc=local";
>       //bindDN = "uid=test2,dc=oc,dc=local";
>       bindDN = "dc=oc,dc=local";
>       bindPassword = 1687056;
>       canAuthenticate = YES;
>       displayName = "Shared Addresses";
>       hostname = "ldap://127.0.0.1:389";;
>       id = public;
>       isAddressBook = YES;
>     }
>   );
> 
> I would appreciate if you could help me again.
> 

Your setting in bindDN doesn't match the error message.
Your config states
bindDN = "dc=oc,dc=local";
which is obviously not a valid user in LDAP at all.

but your error message tells
"uid=sogo,ou=admin,dc=oc,dc=local"

bindDN must contain a valid user in LDAP, which has permissions to at
least read all users.
The password given in bindPassword has to match the user in bindDN.

Also I assume you didn't restart sogod after changing these settings.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to