The LDAP error code 19 - "Constraint Violation" - indicates that the request cannot be processed because it would violate one or more constraints placed on the operation. For example, a request to add an attribute to an entry that already exists would violate the "single-valued attribute" constraint.
There are a number of reasons why this error might occur, but the most common is that the client is attempting to perform an operation that is not allowed by the server. Another possibility is that the client is trying to add or modify an attribute that is not allowed by the server.
1. Restart the LDAP server
- Open the LDAP server's console window
- Type "restart"
- Press Enter
- The LDAP server will restart
2. Check the LDAP client configuration for errors
- Start the LDAP client and connect to the LDAP server.
- In the LDAP client, open the Properties dialog box and click on the General tab.
- In the General tab, search for the LDAP server and click on the Servers button.
- In the LDAP server list, click on the LDAP client instance that you are troubleshooting.
- In the Properties dialog box for the LDAP client instance, click on the Errors tab.
- In the Errors tab, locate the ldap error code that you are troubleshooting and click on the Details button.
- In the Details dialog box for the ldap error code, search for the LDAP configuration error and click on the Fixes button.
- In the Fixes dialog box, click on the Apply button to apply the fix for the ldap configuration error.
3. Check the network connectivity between the LDAP server and client
- From the LDAP server, open "ldap.msc" and click on "OpenLDAP Connections" on the left.
- On the "LDAP Connections" window, right-click on the connection to the client and select "Properties".
- On the "Properties" window, on the "General" tab, click on "Check Connectivity".
- On the "Check Connectivity" window, on the "Status" tab, check the "Is Network Connected" box and click on the "OK" button.
- If the "Is Network Connected" box is not checked, on the "Status" tab, check the "Is Network Connected" box and click on the "OK" button.
- If the "Is Network Connected" box is checked, on the "Status" tab, check the "Is Network Connected" box and click on the "OK" button.
- Close the "LDAP Connections" window and restart the LDAP server.
If you didn't find success with an option above, then try:
- Check the LDAP server logs for errors.
- Disable any firewall rules that may be blocking LDAP traffic.
- Enable LDAP debugging on the server and/or client to get more information about the error.