if I type it without specifying the LDAP port number.
------------------
root@debian6# ldapsearch -h 127.0.0.1 -D "cn=admin,dc=test,dc=asso" -w
Secret
---------------------
I have the same message as returned by SOGo.
ldap_bind: Invalid credentials (49)
additional info: Simple Bind Failed: NT_STATUS_LOGON_FAILURE
Is this a bug sogo ? Is it ignores the port number in the configuration
.GNUstepDefaults ?
Le 21/09/2012 16:16, Sébastien Blin a écrit :
I use LDAP service on port 390, it works as shown below :
-----------------------------
root@debian6# ldapsearch -h 127.0.0.1 -p 390 -D
"cn=admin,dc=test,dc=asso" -w Secret
# extended LDIF
#
# LDAPv3
# base <> (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
-------------------------------------
By against the LDAP connection fails SOGo, as shown below :
------------------
LDAP Access
Failed: Simple Bind Failed: NT_STATUS_LOGON_FAILURE
-------------------
This is the code. GNUstepDefaults :
<dict>
<key>CNFieldName</key>
<string>cn</string>
<key>IDFieldName</key>
<string>uid</string>
<key>UIDFieldName</key>
<string>uid</string>
<key>baseDN</key>
<string>ou=users,dc=test,dc=asso</string>
<key>bindDN</key>
<string>cn=admin,dc=test,dc=asso</string>
<key>bindPassword</key>
<string>Secret</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>contact</string>
<key>hostname</key>
<string>127.0.0.1</string>
<key>id</key>
<string>ldap</string>
<key>isAddressBook</key>
<string>YES</string>
<key>passwordPolicy</key>
<string>NO</string>
<key>port</key>
<string>390</string>
<key>scope</key>
<string>SUB</string>
<key>type</key>
<string>ldap</string>
</dict>
Knowing that I test SOGo v2.0.0 RC5 on a Debian squeeze on Virtualbox.
Do you have any idea of the problem ?
Kind regards,
Sébastien Blin
--
users@sogo.nu
https://inverse.ca/sogo/lists