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

Re: PAM + LDAP and SSH



Hello,

On 8/1/07, Bhasker C V <bhasker@unixindia.com> wrote:
>  If you do not want LDAP based authentication then you can
>  edit the nsswitch.conf file (passwd and shadow) to
>  point to appropriate values ? like files, yp
>  for local and NIS auth only.

the problem with that is that you then don't have any information
about the users available.

If you need to have "getent passwd" list the users in your ldap and
don't want them to be able to login just don't mess around with pam,
and stick with libnss-ldap only.

If, on the other hand you need some users to be able to login a
pam_filter is apropriate since you can easily use the host or
authorizedService attribute (or any other attribute for that matter)
to check account validity for a certain box/host.



Reply to: