On 12-06-03 11:36 PM, Guillaume JULLIEN wrote:
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 ?

From the example ldap entry you posted, 'John Doe' is the CN, 'myuser' is the uid. So try to login using 'John Doe' instead of 'myuser'.

Also, check the ldap logs, you might see hints about what is actually failing.

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: j...@domain.fr
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,





--
*Guillaume JULLIEN*

www.aquilog.fr

Mobile  06 24 68 25 24
Fax     05 57 96 83 58
Mail    g.jull...@aquilog.fr <mailto:g.jull...@aquilog.fr>
Web     www.aquilog.fr <http://www.aquilog.fr>



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to