ispman/install-data/examples/openldap slapd.ldapv3.conf.tmpl, 1.3, 1.4

Joerg Delker <[email protected]> Wed, 18 Apr 2007 22:36:35 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/install-data/examples/openldap
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv12982/install-data/examples/openldap

Modified Files:
	slapd.ldapv3.conf.tmpl 
Log Message:
added patch [ 1692612 ] PAB per domain and per user support

Index: slapd.ldapv3.conf.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/examples/openldap/slapd.ldapv3.conf.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- slapd.ldapv3.conf.tmpl	26 May 2006 20:04:49 -0000	1.3
+++ slapd.ldapv3.conf.tmpl	18 Apr 2007 22:36:33 -0000	1.4
@@ -70,3 +70,23 @@
 index	memberuid	pres,eq
 index	mail,mailLocalAddress,mailAlias	pres,eq
 
+# GAB ACL's
+access to dn.regex="^(.+,)?ou=([^,]+),ou=pabs,%%ldapBaseDN%%$"
+        by dn.exact,expand="ispmanDomain=$2,%%ldapBaseDN%%" write
+        by dn.regex,expand="uid=([^,]+),ou=users,ispmanDomain=$2,%%ldapBaseDN%%" read
+        by * none
+
+# PAB ACL's
+access to dn.regex="^(.+,)?ou=([^,]+),ou=([^,]+),ou=pabs,%%ldapBaseDN%%$"
+    by dn.exact,expand="uid=$2,ou=users,ispmanDomain=$3,%%ldapBaseDN%%" write
+    by * none
+# GAB ACL's
+access to dn.regex="^(.+,)?ou=([^,]+),ou=pabs,%%ldapBaseDN%%$"
+        by dn.exact,expand="ispmanDomain=$2,%%ldapBaseDN%%" write
+        by dn.regex,expand="uid=([^,]+),ou=users,ispmanDomain=$2,%%ldapBaseDN%%" read
+        by * none
+
+# PAB ACL's
+access to dn.regex="^(.+,)?ou=([^,]+),ou=([^,]+),ou=pabs,%%ldapBaseDN%%$"
+    by dn.exact,expand="uid=$2,ou=users,ispmanDomain=$3,%%ldapBaseDN%%" write
+    by * none


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/