[Mageia-sysadm] [376] - add proper access to nss_ldap user so pam_ldap auth can work
root at mageia.org
root at mageia.org
Mon Nov 22 03:04:03 CET 2010
Revision: 376
Author: misc
Date: 2010-11-22 03:04:03 +0100 (Mon, 22 Nov 2010)
Log Message:
-----------
- add proper access to nss_ldap user so pam_ldap auth can work
Modified Paths:
--------------
puppet/modules/openldap/templates/mandriva-dit-access.conf
Modified: puppet/modules/openldap/templates/mandriva-dit-access.conf
===================================================================
--- puppet/modules/openldap/templates/mandriva-dit-access.conf 2010-11-22 02:04:02 UTC (rev 375)
+++ puppet/modules/openldap/templates/mandriva-dit-access.conf 2010-11-22 02:04:03 UTC (rev 376)
@@ -104,6 +104,13 @@
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101122/18cc3499/attachment.html>
More information about the Mageia-sysadm
mailing list