[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_bind error

Azeddine BOUKAIOU wrote:
Hi Tim Moss,
try this:

/etc/ldap# ldapadd -f test.ldif -D
"cn=admin,ou=People,dc=trinity200,dc=org" -h
localhost -w "secret"

slapd.conf file:
----------------- suffix "dc=trinity200,dc=org"
rootdn "cn=admin,ou=People,dc=trinity200,dc=org"
rootpw "secret"

Thanks. This clued me in to the problem. I had the rootdn and rootpw entries above the database line in slapd.conf. Apparently that doesn't work. When I grouped them together with the suffix line like you have here, it worked because suffix was below database.