lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1870 - nss-pam-ldapd/nslcd

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

nss-pam-ldapd commit: r1870 - nss-pam-ldapd/nslcd



Author: arthur
Date: Thu Dec 20 23:00:23 2012
New Revision: 1870
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1870&view=revision

Log:
don't process the request at all for uids < nss_min_uid

Modified:
   nss-pam-ldapd/nslcd/passwd.c

Modified: nss-pam-ldapd/nslcd/passwd.c
==============================================================================
--- nss-pam-ldapd/nslcd/passwd.c        Thu Dec 20 18:14:07 2012        (r1869)
+++ nss-pam-ldapd/nslcd/passwd.c        Thu Dec 20 23:00:23 2012        (r1870)
@@ -571,6 +571,7 @@
     WRITE_INT32(fp,NSLCD_VERSION);
     WRITE_INT32(fp,NSLCD_ACTION_PASSWD_BYUID);
     WRITE_INT32(fp,NSLCD_RESULT_END);
+    return 0;
   }
   nsswitch_check_reload();,
   NSLCD_ACTION_PASSWD_BYUID,
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/