分类: sharing
在看资料时,出现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