components/cups/patches/11-ldap-ssl.patch
author shreya.jain@oracle.com <shreya.jain@oracle.com>
Tue, 08 Nov 2016 13:32:39 -0800
changeset 7269 727c4eb5cc2e
parent 220 3ff562b51ff5
permissions -rw-r--r--
25035075 docker should allow only uid:gid assignments via --user

--- 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));