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

(ITS#4155) ldap_bind: Invalid credentials (49)



Full_Name: orod semsarzadeh
Version: 2.2.19
OS: windowsXP home edition
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.28.50.92)


hi all,

I've just install openLDAP version 2.2.19, I read quick references and did as
the auther said similarly, unfortunately, I got this error. 

C:\LDAP\openldap>ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f
example.ldif

Enter LDAP Password:ldap_bind: Invalid credentials (49)

C:\LDAP\openldap>

I'm sure to trim any leading and trailing whitespace from the example.

here is my slapd.conf
#######################################################################
# BDB database definitions
#######################################################################

database	bdb
suffix		"dc=example,dc=com"
rootdn		"cn=Manager,dc=example,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	C:/LDAP/openldap/var/openldap-data
# Indices to maintain
index	objectClass	eq

could you please help me?
tthanks a lot,
regards

Orod sem