components/cups/patches/11-ldap-ssl.patch
author Girish Moodalbail <Girish.Moodalbail@oracle.COM>
Fri, 10 Oct 2014 15:45:16 -0700
branchs11u2-sru
changeset 3383 98f2d5045108
parent 220 3ff562b51ff5
permissions -rw-r--r--
19716228 problem in SERVICE/NEUTRON

--- scheduler/dirsvc.c.orig	Fri Apr 23 11:56:34 2010
+++ scheduler/dirsvc.c	Mon Dec  6 20:58:17 2010
@@ -1335,7 +1335,7 @@
 #  if defined(HAVE_LDAP_SSL) && defined (HAVE_MOZILLA_LDAP)
     if (ldap_ssl && (rc == LDAP_SERVER_DOWN || rc == LDAP_CONNECT_ERROR))
     {
-      ssl_err = PORT_GetError();
+      ssl_err = rc;
       if (ssl_err != 0)
         cupsdLogMessage(CUPSD_LOG_ERROR, "LDAP SSL error %d: %s", ssl_err,
                         ldapssl_err2string(ssl_err));