Le 04/06/2012 02:46, Jean Raby a écrit :
On
12-06-03 3:24 PM, Guillaume JULLIEN wrote:
Hello,
Hi Guillaume,
No way to login on web interface.
Can you help me ? I could find any "working" solution to my
problem.
can you try logging in as 'John Doe'?
It seems like the DN of the user is "cn=John
Doe,ou=users,dc=domain,dc=fr", so you'd need to bind with the CN,
not with the uid, as shown in the subject of this mail.
Also, I never tested a login with a space in it. If 'John Doe'
doesn't work, try a cn without a space.
LDAP logs might be useful here to get more details on what is
actually failing.
Hello,
How do I "bind with the CN ?
I tried :
<key>CNFieldName</key>
<string>cn</string>
<key>IDFieldName</key>
<string>cn</string>
<key>UIDFieldName</key>
<string>cn</string>
Doesn't work.
Platform : ubuntu Ubuntu 11.04
SOGo : 1.3.15
Postgresql : 8.4
openldap : 2.4.23
*In /etc/ldap/slapd.conf, I have*
...
suffix "dc=domain,dc=fr"
rootdn "cn=manager,dc=domain,dc=fr"
...
*Here is a user ldap account :*
26 cn=John Doe,ou=users,dc=domain,dc=fr
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
...
uid: myuser
cn: John Doe
uidNumber: 5040
mail: [email protected]
sn: Doe
givenName: John
*And my (sogo) GNUstep/Defaults/.GNUstepDefaults configuration
file :*
...
<key>SOGoUserSources</key>
<array>
<dict>
<key>CNFieldName</key>
<string>cn</string>
<key>IDFieldName</key>
<string>cn</string>
<key>IMAPHostFieldName</key>
<string>mailHost</string>
<key>UIDFieldName</key>
<string>uid</string>
<key>baseDN</key>
<string>ou=users,dc=domain,dc=fr</string>
<key>bindDN</key>
<string>cn=manager,dc=domain,dc=fr</string>
<key>bindPassword</key>
<string>secret</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>Shared adresses</string>
<key>hostname</key>
<string>localhost</string>
<key>id</key>
<string>public</string>
<key>isAddressBook</key>
<string>YES</string>
<key>port</key>
<string>389</string>
</dict>
</array>
...
Thanks in advance,
|