Getting LDAP error Code 49: invalid credentialsIssue New ServiceNow administrators who are setting up LDAP servers for the first time may not be following the documentation properly and the connection test may fail. Getting LDAP error Code 49: invalid credentials When setting up the LDAP server record, the login distinguished name must include the domain such as domain\login or login@domain.com Errors in the LDAP log look like this: ErrorCode: 49. ErrorMessage: Invalid credentials. Related LinksDefine an LDAP Server, the relevant section is under "Login distinguished name".