Error -5871 in LDAP trace

  • 7001937
  • 19-Nov-2008
  • 03-Apr-2013

Environment

Novell eDirectory

Situation

Error -5871 in LDAP trace
Queries fail with Error -5871

Resolution

One of the following 3 resolutions have the potential to resolve this problem.  As for which resolution needs to be implemented, Novell suggests you go through them one by one until the problem is resolved.

Resolution 1: iprint_ssl.conf configuration
This first suggestion applies only if this error is the result of an iPrint management action within iManager.
  1. Change the server address on the AuthLDAPDNURL line of the /etc/opt/novell/iprint/httpd/conf/iprint_ssl.conf.
  2. Restart Apache for that change to take effect.
    • rcapache2 restart

If the problem continues, you may want to try a few more server addresses before giving up.

Resolution 2: NLDAP
Unloading and reloading NLDAP has been reported to resolve the problem.

Resolution 3: Bad Switch
Novell as received a report that replace a 4 layer switch with a different switch resolved the problem.

Additional Information

The -5871 errors have also been known to be caused by an LDAP Client improperly terminating a connection.  Test another utility like Ldapsearch or Ldap Browser to see if it shows similiar results.  If it does not show the -5871 errors, then the previous LDAP Client/Application is the culprit.
The error -5871 has multiple possible causes and indicates a socket problem.
The probable cause for this problem is packet mangling performed on the switch itself.  In certain situations, LDAP queries may fail
Formerly known as TID# 10095373