Hi We just installed openldap on a new server. I could not bind to it. I tried with anonymous user and also the user from the default conf file. But doesn't work. Can anyone help?
Here is my conf file and my logs
database bdb suffix "dc=my-domain,dc=com" rootdn "cn=Manager,dc=my-domain,dc=com" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw secret # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. # directory /usr/local/var/openldap-data directory /usr/local/var/openldap-data/defaultFromServerInstall # Indices to maintain index objectClass eq
from log file:
Mar 11 13:45:36 oldaptest01 slapd[27984]: slapd starting Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 fd=10 ACCEPT from IP=130.*.*.*:54015 (IP=0.0.0.0:389) Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=0 BIND dn="" method=128 Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=0 RESULT tag=97 err=0 text= Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=1 SRCH base="dc=my-domain,dc=com" scope=0 deref=0 filter="(objectClass=*)" Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=1 SRCH attr=1.1 Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text= Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=2 SRCH base="dc=my-domain,dc=com" scope=0 deref=0 filter="(objectClass=*)" Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=2 SEARCH RESULT tag=101 err=32 nentries=0 text= Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=3 SRCH base="dc=my-domain,dc=com" scope=1 deref=0 filter="(objectClass=*)" Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=3 SRCH attr=objectclass subschemaSubentry Mar 11 13:47:25 oldaptest01 slapd[27984]: conn=1000 op=3 SEARCH RESULT tag=101 err=32 nentries=0 text= Mar 11 13:50:52 oldaptest01 slapd[27984]: conn=1001 fd=13 ACCEPT from IP=130.*.*.*:62744 (IP=0.0.0.0:389) Mar 11 13:50:52 oldaptest01 slapd[27984]: conn=1001 op=0 BIND dn="cn=Manager,dc=my-domain,dc=com" method=128 Mar 11 13:50:52 oldaptest01 slapd[27984]: conn=1001 op=0 RESULT tag=97 err=49 text= Mar 11 13:50:53 oldaptest01 slapd[27984]: conn=1001 op=1 UNBIND Mar 11 13:50:53 oldaptest01 slapd[27984]: conn=1001 fd=13 closed
Hui Wang (Holly)
CSUN IT Department Identity and Directory Service 818-677-2031 holly.wang@csun.edu
openldap-technical@openldap.org