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
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: