Advertisement
vnc786

nslcd.conf

Mar 31st, 2014
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. cat /etc/nslcd.conf
  2. # /etc/nslcd.conf
  3. # nslcd configuration file. See nslcd.conf(5)
  4. # for details.
  5.  
  6. # The user and group nslcd should run as.
  7. uid nslcd
  8. gid nslcd
  9.  
  10. # The location at which the LDAP server(s) should be reachable.
  11. uri ldap://192.168.10.16/
  12.  
  13. # The search base that will be used for all queries.
  14. base dc=ik,dc=local
  15.  
  16. # The LDAP protocol version to use.
  17. #ldap_version 3
  18.  
  19. # The DN to bind with for normal lookups.
  20. #binddn cn=annonymous,dc=example,dc=net
  21. #bindpw secret
  22.  
  23. # The DN used for password modifications by root.
  24. #rootpwmoddn cn=admin,dc=example,dc=com
  25.  
  26. # SSL options
  27. #ssl off
  28. #tls_reqcert never
  29.  
  30. # The search scope.
  31. #scope sub
  32. # Mappings for Active Directory
  33. pagesize 1000
  34. referrals off
  35. idle_timelimit 800
  36. filter passwd (&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))
  37. map passwd uid sAMAccountName
  38. map passwd homeDirectory unixHomeDirectory
  39. map passwd gecos displayName
  40. filter shadow (&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))
  41. map shadow uid sAMAccountName
  42. map shadow shadowLastChange pwdLastSet
  43. filter group (objectClass=group)
  44. sasl_mech GSSAPI
  45. sasl_realm HH3.SITE
  46. krb5_ccname /tmp/nslcd.tkt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement