nslcd.conf file:
# /etc/nslcd.conf # nslcd configuration file. See nslcd.conf(5) # for details.
# The user and group nslcd should run as. uid nslcd gid nslcd
# The location at which the LDAP server(s) should be reachable. uri ldaps://ldap.domain.com/
# The search base that will be used for all queries. base o=domain.com
# The LDAP protocol version to use. #ldap_version 3
# The DN to bind with for normal lookups. #binddn cn=annonymous,dc=example,dc=net #bindpw secret
# The DN used for password modifications by root. #rootpwmoddn cn=admin,dc=example,dc=com idle_timelimit 100
# SSL options ssl yes
# needed for hp ldap to connect tls_reqcert allow
# The search scope. scope sub
map passwd uid hpUnixUserName #map group uniqueMember member # Not needed after 0.8.4
nss_initgroups_ignoreusers backup,bin,daemon,games,gnats,irc,libuuid,list,lp,mail,man,news,proxy,root,sshd,sync,sys,syslog,uucp,www-data,sitescop,postfix,ntp
nslcd.conf file:
# /etc/nslcd.conf
# nslcd configuration file. See nslcd.conf(5)
# for details.
# The user and group nslcd should run as.
uid nslcd
gid nslcd
# The location at which the LDAP server(s) should be reachable. /ldap.domain. com/
uri ldaps:/
# The search base that will be used for all queries.
base o=domain.com
# The LDAP protocol version to use.
#ldap_version 3
# The DN to bind with for normal lookups. dc=example, dc=net
#binddn cn=annonymous,
#bindpw secret
# The DN used for password modifications by root. dc=example, dc=com
#rootpwmoddn cn=admin,
idle_timelimit 100
# SSL options
ssl yes
# needed for hp ldap to connect
tls_reqcert allow
# The search scope.
scope sub
map passwd uid hpUnixUserName
#map group uniqueMember member # Not needed after 0.8.4
nss_initgroups_ ignoreusers backup, bin,daemon, games,gnats, irc,libuuid, list,lp, mail,man, news,proxy, root,sshd, sync,sys, syslog, uucp,www- data,sitescop, postfix, ntp