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

DB_KEYEXIST: Key/data pair already exists



Hello all,

I have 2 users with identical Full Name and their ldif change on mail,
uid, username and home directory in order to avoid ldap constraints.
However, even though I have no other constraints apart from
unique_attributes uid mail uidNumber homeDirectory I'm getting the
following error and cannot add the 2nd user.

root@masterldap:~# slapadd -l debug.ldif -f /etc/ldap/slapd.conf
=> hdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair
already exists (-30996)
=> hdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already
exists (-30996)
slapadd: could not add entry dn="cn=Full
Name,ou=Users,dc=mydomain,dc=com" (line=1): txn_aborted! DB_KEYEXIST:
Key/data pair already exists (-30996)
root@masterldap:~#

Any ideas how I can see which attribute is causing the problem?

-- 
Stelios A