vn-ansible/roles/config-centralized-auth/files/nslcd.conf

16 lines
425 B
Plaintext
Raw Normal View History

2024-02-12 09:33:05 +00:00
# See nslcd.conf(5) for details.
uid nslcd
gid nslcd
uri ldap://ldap.verdnatura.es
base dc=verdnatura,dc=es
binddn cn=nss,ou=admins,dc=verdnatura,dc=es
bindpw passwordblablabla
pagesize 500
filter group (&(objectClass=posixGroup)(cn=sysadmin))
filter passwd (&(objectClass=posixAccount)(memberOf=cn=sysadmin,ou=dnGroups,dc=verdnatura,dc=es))
pam_authz_search (&(objectClass=posixGroup)(cn=sysadmin)(memberuid=$username))