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

ldap_add: Already exists

hi to all,
I have been trying to add some entries using Ldapadd.
I first add Admin@ubm.com.edu
I tried ldapsearch which gave me the following result.

$ ldapsearch -x -b 'dc=ubm,dc=com,dc=edu' '
version: 2

# filter: (objectclass=*)
# requesting: ALL

# ubm, dc=ubm,dc=edu
dn: dc=ubm, dc=com,dc=edu
objectClass: dcObject
objectClass: organisation
dc: ubm

# Admin, dc=ubm,dc=com,dc=edu
dn: cn=Admin, dc=ubm,dc=com,dc=edu
objectClass: organizationalRole
cn:: TWFuYWdlciA=

# search result
search: 2
result: 0 Success

# numResponses: 3
# numEntries: 2

But when i try to add one more entry xyz@ubm.com.edu
it says 
Already exists.

$ ldapadd -x -D "cn=Manager,dc=ubm,dc=com,dc=edu"
 -W -f example.ldif
Enter LDAP Password:
adding new entry "dc=ubm,dc=com,dc=edu"
ldap_add: Already exists

ldif_record() = 68
why does it give me this error ?
How do i get rid of this error?

Lin s

Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger