A.2 Mapping of LDAP Proxy and XDAS Error Codes

The following table contains the mapping of the error codes for LDAP Proxy and XDAS:

XDAS Error

Outcome

Proxy or LDAP Error

Extended Outcome

XDAS_E_GENERAL_SUCCESS

0

LDAP_SUCCESS

0

XDAS_E_GENERAL_FAILURE

1

LDAP_NO_SUCH_ATTRIBUTE

LDAP_ALIAS_DEREF_PROBLEM

LDAP_NOT_ALLOWED_ON_NONLEA

16

36

66

XDAS_E_SERVICE_UNAVAILABLE

1.1

LDAP_UNAVAILABLE_CRITICAL_EXTENSION

LDAP_UNAVAILABLE

12

52

XDAS_E_BUSY

1.8

LDAP_BUSY

51

XDAS_E_INVALID_INPUT

1.10

LDAP_CONSTRAINT_VIOLATION

LDAP_TYPE_OR_VALUE_EXISTS

LDAP_INVALID_SYNTAX

LDAP_INVALID_DN_SYNTAX

LDAP_NAMING_VIOLATION

LDAP_OBJECT_CLASS_VIOLATION

19

20

21

34

64

65

XDAS_E_ENTITY_EXISTS

1.11

LDAP_ALREADY_EXISTS

68

XDAS_E_NO_SUCH_ENTITY

1.12

LDAP_NO_SUCH_OBJECT

32

XDAS_E_GENERAL_DENIAL

2

LDAP_UNWILLING_TO_PERFORM

LDAP_NOT_ALLOWED_ON_RDN

53

67

XDAS_E_INSUFFICIENT_PRIVILEGE

2.1

LDAP_INSUFFICIENT_ACCESS

50

XDAS_E_INVALID_CREDENTIALS

2.3

LDAP_INVALID_CREDENTIALS

49

NOTE:XDAS_E_GENERAL_FAILURE (1) is a generic error and is returned in case the LDAP error is other than what is mentioned in the above table.