Re: How can i filter specific users from querying ldap server?
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: How can i filter specific users from querying ldap server?
- From: "Trent W. Buck" <twb-nss-pam-ldapd-users [at] cyber.com.au>
- To: Mindaugas B <minde.b [at] gmail.com>
- Cc: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: How can i filter specific users from querying ldap server?
- Date: Wed, 22 Oct 2014 10:17:36 +1100
Mindaugas B wrote:
> I have user named "test1" (uid=1001). I'm trying to configure NSS or nslcd
> so that "id test1" and similar queries would not send requests to LDAP
> server at all.
>
> Is it possible?
Only if you duplicate the user in some other database (e.g. /etc/passwd).
Perhaps you want unscd / nscd, so that LDAP lookups are cached for a while.
IIRC when I deployed it I saw about a thousandfold reduction in traffic on the
LDAP server.
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/