I
I
invite2011-04-04 10:08:45
SSH
invite, 2011-04-04 10:08:45

Ssh via ldap without nsswitch.conf?

Good afternoon,
there is ssh authorization via ldap, for such authorization the /etc/nsswitch.conf file is configured as follows:
passwd: cache files [SUCCESS=return] ldap
group: cache files [SUCCESS=return] ldap
shadow: cache files [SUCCESS =return] ldap
At the same time, there are utilities in the system that periodically query the entire database of available users using getpwent().
Is there any way to get rid of using nsswitch.conf when authorizing ssh via ldap?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smartly, 2011-04-04
@smartly

yes, it seems authorization goes through pam, and for ldap in pam there is a pam_ldap module. it needs to be adjusted.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question