lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1871 - in nss-pam-ldapd-0.8: . nslcd

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

nss-pam-ldapd commit: r1871 - in nss-pam-ldapd-0.8: . nslcd



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

Log:
don't process the passwd_byuid request at all for uids < nss_min_uid (r1870 
from trunk)

Modified:
   nss-pam-ldapd-0.8/   (props changed)
   nss-pam-ldapd-0.8/nslcd/passwd.c

Modified: nss-pam-ldapd-0.8/nslcd/passwd.c
==============================================================================
--- nss-pam-ldapd-0.8/nslcd/passwd.c    Thu Dec 20 23:00:23 2012        (r1870)
+++ nss-pam-ldapd-0.8/nslcd/passwd.c    Thu Dec 20 23:21:05 2012        (r1871)
@@ -622,6 +622,7 @@
     WRITE_INT32(fp,NSLCD_VERSION);
     WRITE_INT32(fp,NSLCD_ACTION_PASSWD_BYUID);
     WRITE_INT32(fp,NSLCD_RESULT_END);
+    return 0;
   }
   check_nsswitch_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/