HOST pdc.esempio.lan BASE dc=esempio,dc=lan URI ldaps://pdc.esempio.lan/ PORT 636 TLS_REQCERT never
base dc=esempio,dc=lan uri ldaps://pdc.esempio.lan/ port 636 ldap_version 3 bind_policy soft bind_timelimit 2 timelimit 2 scope sub nss_reconnect_maxsleeptime 8 nss_reconnect_sleeptime 1 nss_initgroups_ignoreusers root nss_srv_domain esempio.lan pam_password exop pam_filter objectclass=posixAccount pam_login_attribute uid pam_member_attribute memberUid nss_base_passwd ou=Users,dc=esempio,dc=lan?one nss_base_shadow ou=Users,dc=esempio,dc=lan?one nss_base_passwd ou=Computers,dc=esempio,dc=lan?one nss_base_shadow ou=Computers,dc=esempio,dc=lan?one nss_base_group ou=Groups,dc=esempio,dc=lan?one ssl on
e /etc/nsswitch.conf
passwd: files ldap [notfound=continue] shadow: files ldap [notfound=continue] group: files ldap [notfound=continue] hosts: files dns wins networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
# getent passwd # getent groupe verificando che ritornino anche gli utenti e gruppi presenti nell'albero LDAP.
Stefano Sasso 2009-04-16