Possible errors when saving Active Directory

When Xeams accesses the LDAP (in this case Microsoft Active Directory), either to start the server or during configuration tasks, "LDAP: error code 49" can be encountered.

A typical error message could say:

Naming Exception. [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v23f0]

The number value appearing after data indicates the underlaying problem. The following table lists possible values for Microsoft Active Directory.

525 user not found
52e invalid credentials
530 not permitted to logon at this time
531 not permitted to logon at this workstation
532 password expired
533 account disabled
534 The user has not been granted the requested logon type at this machine
701 account expired
773 user must reset password
775 user account locked