2.14. Troubleshooting: Check Result Codes
LDAP result codes are standard and clearly defined. When you receive
a Result
, check the ResultCode
value to
determine what action your application should take. When the result is not
what you expect, you can also read or at least log the message string from
ResultCode.getDiagnosticMessage()
.