diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-22 02:04:03 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-22 02:04:03 +0000 |
commit | 79028a21adb37cf4873edee55a305d2d777f6504 (patch) | |
tree | 5e2177beb14e8dacc9306325cbf7378d94081783 /modules/openldap | |
parent | a011669f59bacc1460b275ed8593628bf1672b2d (diff) | |
download | puppet-79028a21adb37cf4873edee55a305d2d777f6504.tar puppet-79028a21adb37cf4873edee55a305d2d777f6504.tar.gz puppet-79028a21adb37cf4873edee55a305d2d777f6504.tar.bz2 puppet-79028a21adb37cf4873edee55a305d2d777f6504.tar.xz puppet-79028a21adb37cf4873edee55a305d2d777f6504.zip |
- add proper access to nss_ldap user so pam_ldap auth can work
Diffstat (limited to 'modules/openldap')
-rw-r--r-- | modules/openldap/templates/mandriva-dit-access.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/openldap/templates/mandriva-dit-access.conf b/modules/openldap/templates/mandriva-dit-access.conf index 9a501713..7f453d40 100644 --- a/modules/openldap/templates/mandriva-dit-access.conf +++ b/modules/openldap/templates/mandriva-dit-access.conf @@ -104,6 +104,13 @@ access to dn.subtree="ou=People,<%= dc_suffix %>" by group/groupOfNames/member.exact="cn=registrars,ou=system groups,<%= dc_suffix %>" =asrx by * +0 break +# TODO maybe we should use a group instead of a user here +access to dn.subtree="ou=People,<%= dc_suffix %>" + filter="(objectclass=posixAccount)" + attrs=homeDirectory,cn,uid,loginShell,gidNumber,uidNumber + by dn.exact="uid=nssldap,ou=System Accounts,<%= dc_suffix %>" read + by * +0 break + # let the user change some of his/her attributes access to dn.subtree="ou=People,<%= dc_suffix %>" attrs=carLicense,homePhone,homePostalAddress,mobile,pager,telephoneNumber,mail,preferredLanguage |