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

ldapadd problem



Hi folks,

I am sorry if I missed ur responses to my previous
mails. I accidentially deleted my mailbox. I'll just
put forth my problem again.

When I run the ldapadd command, I get the error
already exists. I've pasted the command and error
below. I've also attached the slapd.conf file. Maybe
I'm doing something wrong again. Anyway thanks Bjorn
for ur reply.

Bye,
Amol

[root@srvrenres scripts]# /usr/local/bin/ldapadd -D
"cn=Manager, o=University o
f Michigan, c=US" -W -f test.ldif
Enter LDAP Password:
adding new entry "CN=All Staff,ou=Groups,o=University
of Michigan,c=US"
ldapadd: update failed: CN=All
Staff,ou=Groups,o=University of Michigan,c=US
ldap_add: Already exists (68)
                                    

__________________________________________________
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