From 8d0ca9f823da75722bc542725c4753d7168bbd21 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 16 Dec 2010 12:49:49 +0000 Subject: - do not let user change their own memberOf attribute, ( even if the overlay may prevent it ) --- modules/openldap/templates/mandriva-dit-access.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/openldap/templates/mandriva-dit-access.conf') diff --git a/modules/openldap/templates/mandriva-dit-access.conf b/modules/openldap/templates/mandriva-dit-access.conf index 044eb212..aac4d32e 100644 --- a/modules/openldap/templates/mandriva-dit-access.conf +++ b/modules/openldap/templates/mandriva-dit-access.conf @@ -113,10 +113,15 @@ access to dn.subtree="ou=People,<%= dc_suffix %>" # 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,sshPublicKey,memberOf + attrs=carLicense,homePhone,homePostalAddress,mobile,pager,telephoneNumber,mail,preferredLanguage,sshPublicKey by self write by users read +access to dn.subtree="ou=People,<%= dc_suffix %>" + attrs=memberOf + by users read + + # create new accounts access to dn.regex="^([^,]+,)?ou=(People|Group|Hosts),<%= dc_suffix %>$" attrs=children,entry -- cgit v1.2.1