add config file nslcd to copy

This commit is contained in:
Ruben Blanco 2023-10-16 07:33:24 +02:00
parent 2facb281a2
commit b74a6f7a1e
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# See nslcd.conf(5) for details.
uid nslcd
gid nslcd
uri ldap://ldap1.verdnatura.es
uri ldap://ldap2.verdnatura.es
uri ldap://ldap3.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))