diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-12-20 23:21:05 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-12-20 23:21:05 +0100 |
commit | 01ffb05d20df7046ec1f96969d03eb9bcf831417 (patch) | |
tree | e0fb2acacb5b31fbf0f2c7480de85022ad13ecd7 | |
parent | 6474b16d03ee4f3cd0f4a0071fcde8a8ec28a23f (diff) |
don't process the passwd_byuid request at all for uids < nss_min_uid (r1870 from trunk)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1871 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | nslcd/passwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nslcd/passwd.c b/nslcd/passwd.c index 4c5ef88..7f46d2a 100644 --- a/nslcd/passwd.c +++ b/nslcd/passwd.c @@ -622,6 +622,7 @@ NSLCD_HANDLE_UID( 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, |