From 79028a21adb37cf4873edee55a305d2d777f6504 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 22 Nov 2010 02:04:03 +0000 Subject: - add proper access to nss_ldap user so pam_ldap auth can work --- modules/openldap/templates/mandriva-dit-access.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/openldap') 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 -- cgit v1.2.1