RSS feed

nss-pam-ldapd branch master updated. 0.9.0-7-g97d35f3

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.0-7-g97d35f3

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  97d35f32806b54160767269da9a538b1cebd23db (commit)
      from  b15dc66dcd4f85e06b112568fe154d3e7c7659da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 97d35f32806b54160767269da9a538b1cebd23db
Author: Arthur de Jong <>
Date:   Fri May 10 23:56:44 2013 +0200

    Ignore errors in opening NSS module

diff --git a/pynslcd/ b/pynslcd/
index 99bfda8..df54bad 100755
--- a/pynslcd/
+++ b/pynslcd/
@@ -229,7 +229,10 @@ def acceptconnection(session):
 def disable_nss_ldap():
     """Disable the nss_ldap module to avoid lookup loops."""
     import ctypes
-    lib = ctypes.CDLL(constants.NSS_LDAP_SONAME)
+    try:
+        lib = ctypes.CDLL(constants.NSS_LDAP_SONAME)
+    except OSError:
+        return  # ignore errors in opening NSS module
         ctypes.c_int.in_dll(lib, '_nss_ldap_enablelookups').value = 0
     except ValueError:


Summary of changes:
 pynslcd/ |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

To unsubscribe send an email to or see