DirWiz Logo
Knowledgebase

Article Tags

Error: LDAP_ALREADY_EXISTS (68) or LDAP_TYPE_OR_VALUE_EXISTS (20)

2017-06-12 10:36:50
Errors Troubleshooting UnitySync 

These errors occur when an LDAP Add or Modify attempts to set a duplicate value on an indexed (unique) attribute.

Search the log file for Entry_Exists or value exists to identify the Source records that are throwing this error. Common attributes that throw this error are userid, proxyaddresses, samaccountname, alias, etc. Any Destination attribute that is required to be unique will throw this error if an LDAP Modify (or Add) attempts to set a duplicate value.

Unfortunately, the error text returned by LDAP does not identify the attribute causing the problem in this Add/Mod. To identify exactly which attribute is throwing the error, use a custom object map file to comment out suspect attributes one at a time. A mapping can be commented out by placing a # as the first character in the line, as shown below:

#mail#64=~mail~

After commenting out a mapping, run the Sync. If the error disappears, you have identified the problem attribute. The duplicate value must be modified at the Source so that the duplicate value is not attempted to be set on the Destination.

Share this article: Twitter reddit