|
|
Getting ATT_OR_VALUE_EXISTS from AD server when updating values
Hi,
We are using the latest version of Spring LDAP against an AD server. I am unable to re-produce this in a unit test (I tried updating with the same value and a different value as well).
Sometimes we are seeing this when our code is running in production. We are trying to set a value against the ipPhone attribute in a user record (it may or may not be a different value) and we get this error back from AD.
Please adviseCode:
org..ldap.AttributeInUseException: [LDAP: error code 20 - 00002083: AtrErr: DSID-031513D7, #1: 0: 00002083: DSID-031513D7, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att 902d1 (ipPhone):len 20
^@]; nested exception is javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - 00002083: AtrErr: DSID-031513D7, #1: 0: 00002083: DSID-031513D7, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att 902d1 (ipPhone):len 20
^@]; remaining name 'cn=XXX,ou=XXX,ou=XXX,ou=XX,ou=XX' at org..ldap.support.LdapUtils.convertLdapException(LdapUtils.java:87) at org..ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:810) at org..ldap.core.LdapTemplate.executeReadWrite(LdapTemplate.java:802) at org..ldap.core.LdapTemplate.modifyAttributes(LdapTemplate.java:967) at org..ldap.core.LdapTemplate.modifyAttributes(LdapTemplate.java:1338) |
|