在看资料时,出现nss_ldap,开始以为这个库是nss_ldap.so 可是在系统(rh)上没找到,只找到了libnss_ldap.so ,故认为在同一个系统上存在两个库libnss_ldap.so和nss_ldap.so 其实不然。
installs an appropriately named version of the
nss_ldap library in
/lib. For example, the resulting file would be
/lib/libnss_ldap.so on a Linux host and
/lib/nss_ldap.so on a Solaris box. Since the examples in
this chapter are based on Linux systems, whenever there is a need to
refer to the actual
nss_ldap library file, I will use the
libnss_ldap.so filename.
在linux系统上libnss_ldap.so
在Solaris系统上是nss_ldap.so
http://www.tldp.org/HOWTO/archived/LDAP-Implementation-HOWTO/pamnss.html
此link上有一个用pam,一个用nss的结构图
http://ldots.org/ldap/
https://wiki.archlinux.org/index.php/LDAP_Authentication
use PAM to configure the authentication
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27042095/viewspace-750768/
,如需转载,请注明出处,否则将追究法律责任。