Message ID: 0x40000021
When do you see this error?
Usecase scenario to be defined
Why the error occurred?
LDAP authentication failure can occur either due to general authentication failures such as incorrect user name and password entries or internal authentication failures caused by any of the following:
In any case, the following message is displayed at the printer:
Enrollment failed. Unable to connect to LDAP Server. Contact your IT support.
When a user reports that they cannot log in to the printer, even though they are typing the correct password, the administrator can review system logs to find out what is causing the authentication issue.
The message indicates that the error occurred during a connection attempt to the LDAP server, which might be due to an incorrect login details. It can also be caused by a mis-configured parameter in the Authentication profile, or missing user information.
To troubleshoot LDAP connection failures, perform the following procedure:
Step 1: Verify authentication settings.
1. Ensure the settings configured under Authentication profile in Web Admin application are accurate.
Step 2: Verify connectivity to TCP/IP ports that are used by AD/LDAP.
We can use PortQry tool supported by Microsoft for this purpose.
Portqry is a command-line utility that helps troubleshoot TCP/IP connectivity issues. The utility reports the port status of target TCP and UDP ports on a remote computer.
Step 3: Check the port exceptions on the firewall settings