Hi there,

I installed LDAP on my SuSe 10.3 box.

I changed the configuration in /etc/openldap/slapd.conf

to contain the following:


#######################################################################
# BDB database definitions
#######################################################################

database        bdb
suffix          "dc=redcor,dc=ch"
checkpoint      1024    5
cachesize       10000
rootdn          "cn=Manager,dc=redcor,dc=ch"
# 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


now I would like to use the administrator account like so:
ldapsearch -D "cn=Admin,dc=redcor,dc=ch" -x -w secret -h localhost

but I get a
ldap_bind: Invalid credentials (49)

before I used the cleartext password I tried using an encripted password
which I generated with:

slappasswd -h {md5}.

the result I inserted after rootpw (just where there is now secret).

do I have to initialice something befor I am able to use the
administrator account?

thanks for your help
robert
begin:vcard
fn:Robert  Rottermann
n:Rottermann;Robert
tel;work:++41 31 333 10 20
tel;fax:++41 31 333 10 23
tel;home:++41 31 333 36 03
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to