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

ldapadd problem



Hi,

My ldap server is up and running. But I am unable to
add any entries to it.

When I run the foll. command. I get an error

"[root@srvrenres scripts]# /usr/local/bin/ldapadd -x
-D "cn=Manager,dc=example,d
c=com" -W -f example.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)"

I looked up in the faqs on the site. They did have
something on it. But the solution has put up another
problem.

The solution was:
"The error usually occurs when the credentials
(password) provided does not match the userPassword
held in entry you are binding to. 

The error can also occur when the bind DN specified is
not known to the server. "

I am pretty sure my password is not a problem. So how
do I specify the bind dn. I am also attaching my
slapd.conf file.

Bye,
Amol



__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
# $OpenLDAP: pkg/ldap/tests/data/slapd.conf,v 1.17.2.1 2002/04/15 15:22:05 kurt Exp $
#
# stand-alone slapd config -- for testing
#	with indexing
#
include		/usr/local/etc/openldap/schema/core.schema

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral	ldap://root.openldap.org

pidfile		/usr/local/var/slapd.pid
argsfile	/usr/local/var/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################

database	ldbm
suffix		"o=University of Michigan, c=US"
directory	/usr/local/var/openldap-data
rootdn		"cn=Manager, o=University of Michigan, c=US"
suffix		"dc=srvrenres,dc=com"
suffix		"cn=Manager,dc=example,dc=com"
rootpw		secret
#ldbm#index		objectclass	eq
#ldbm#index		uid	pres,eq,sub
#ldbm#index		name	pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index		objectclass	eq
#bdb#index		uid	pres,eq,sub
#bdb#index		name	pres,eq,sub,subany
#bdb#lockdetect default 5