Hi folks,
i don't understand a little problem with mi ldap server
I installed and configuring my ldap server. after configuring slapd.conf, restarting the server was ok. then i prepared the client with ldap.conf
# # LDAP Defaults #
# See ldap.conf(5) for details # This file should be world readable but not world writable.
URI ldap://localhost BASE dc=amahoro,dc=bi BINDDN cn=Administrator,dc=amahoro,dc=bi
#SIZELIMIT 12 #TIMELIMIT 15 #DEREF never
and tryed to test the server:
ldapsearch -x -W -D 'cn=Administrator,dc=amahoro,dc=bi' -b "" -s base
and it asks me
Enter LDAP Password.
i wrote the password asked me during the ldap installation without success.
i tried to change it with
ldappasswd
it asked me the password, i wrote the same password but the answer is
ldap_sasl_interactive_bind_s: Invalid credentials (49) additional info: SASL(-13): user not found: no secret in database.
i tryied to comment everything in ldap.conf and restart the ldap server but is failed.
checking in syslog the error is
daemon: bind(6) failed errno=98 (Address,already in use)
do you have any idea about the resolution of this problem?
thank you
stefano,
stefano schrieb (22.02.2012 10:00 Uhr):
i tryied to comment everything in ldap.conf and restart the ldap server but is failed.
You can forget about all the ldap.conf things before you did not solved this:
checking in syslog the error is
daemon: bind(6) failed errno=98 (Address,already in use)
Maybe because all processes did not end and still sit on the port. Check your process list and netstat to solve this.
Before trying to connect with a client again, make perfectly clear that the server is running and listening, i.e. by increasing the log level of slapd (or with debug output).
ldap.conf is more or less for convenience, it let's you type less but everything in there can be set as options and parameters with ldapsearch/add/delete/modify etc. It's more important that your slapd config is fine at first.
Marc
Hi stefona:
i think you should enter the passwd you setup in slapd.conf
and if you want to change your Admin passwd, you should use the command
`slappasswd` instead of `ldappasswd`. read `man` for details.
At 2012-02-22 17:00:10,stefano stefano.malini@gmail.com wrote: Hi folks,
i don't understand a little problem with mi ldap server
I installed and configuring my ldap server. after configuring slapd.conf, restarting the server was ok. then i prepared the client with ldap.conf
# # LDAP Defaults #
# See ldap.conf(5) for details # This file should be world readable but not world writable.
URI ldap://localhost BASE dc=amahoro,dc=bi BINDDN cn=Administrator,dc=amahoro,dc=bi
#SIZELIMIT 12 #TIMELIMIT 15 #DEREF never
and tryed to test the server:
ldapsearch -x -W -D 'cn=Administrator,dc=amahoro,dc=bi' -b "" -s base
and it asks me
Enter LDAP Password.
i wrote the password asked me during the ldap installation without success.
i tried to change it with
ldappasswd
it asked me the password, i wrote the same password but the answer is
ldap_sasl_interactive_bind_s: Invalid credentials (49) additional info: SASL(-13): user not found: no secret in database.
i tryied to comment everything in ldap.conf and restart the ldap server but is failed.
checking in syslog the error is
daemon: bind(6) failed errno=98 (Address,already in use)
do you have any idea about the resolution of this problem?
thank you
openldap-technical@openldap.org