diff options
-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 |