2.2.6 LDAP Result Code to DirectoryOperationResult Mapping

The algorithm converts an LDAP result code TaskReturnStatus to a DirectoryOperationResult according to the following table.

LDAP result code

DirectoryOperationResult enumeration

Success (0)

Success

noSuchObject (32)

ObjectNotFound

noSuchAttribute (16)

AttributeNotFound

entryAlreadyExists (68)

ObjectAlreadyExists

Other codes not listed preceding

GenericError