Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/nslcd.conf
- # /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 ldap://192.168.10.16/
- # The search base that will be used for all queries.
- base dc=ik,dc=local
- # 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
- # SSL options
- #ssl off
- #tls_reqcert never
- # The search scope.
- #scope sub
- # Mappings for Active Directory
- pagesize 1000
- referrals off
- idle_timelimit 800
- filter passwd (&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))
- map passwd uid sAMAccountName
- map passwd homeDirectory unixHomeDirectory
- map passwd gecos displayName
- filter shadow (&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))
- map shadow uid sAMAccountName
- map shadow shadowLastChange pwdLastSet
- filter group (objectClass=group)
- sasl_mech GSSAPI
- sasl_realm HH3.SITE
- krb5_ccname /tmp/nslcd.tkt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement