LDIF error: ldap_modify failed:17

  • 7007047
  • 12-Oct-2010
  • 26-Apr-2012

Environment

Novell eDirectory 8.5.x for All Platforms
Novell eDirectory 8.6.x for All Platforms
Novell eDirectory 8.7.x for All Platforms
Novell eDirectory 8.8.x for All Platforms

Situation

Error "ldap_modify failed:17 " displayed while modifying users using LDIF file when multiple attribute values are being added, replaced or deleted on a user object in single LDAP modify request.

Example:

Version: 1

dn: cn=Sam,OU=Student,O=novell
Changetype: modify
add :telephonenumber
telephonenumber: +1 000 111 2222
replace:userPassword
userPassword: start123
delete: telephonenumber
telephonenumber: +1 000 111 2222

Resolution

Version: 1

dn: cn=Sam,OU=Students,O=novell
changetype: modify
add :telephonenumber
telephonenumber: +1 000 111 2222
-
replace: userPassword
userPassword:start123
-
delete: telephonenumber
telephonenumber: +1 000 111 2222



Additional Information

Note:

For each modification specifier needs to be separated by hyphen (-) indicating end of the attribute value specification.