diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-07-18 18:44:07 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-07-18 18:44:07 +1000 |
commit | cfc2063f230491865edb8f73174e0b12ab4dc158 (patch) | |
tree | dc7706b697d09b7c1e6c4029f03f7d403f2b3c15 /source4/setup | |
parent | 853194c308a0f2171808b78b17aed50c5fab1b3b (diff) | |
download | samba-cfc2063f230491865edb8f73174e0b12ab4dc158.tar.gz samba-cfc2063f230491865edb8f73174e0b12ab4dc158.tar.bz2 samba-cfc2063f230491865edb8f73174e0b12ab4dc158.zip |
Put the memberof template into a seperate setup/ file.
Set a memberof-dn in a fruitless attempt to fix the ACL problem I'm
having with OpenLDAP
Andrew Bartlett
(This used to be commit 6d6e03834a1a77a8ceba41fbe8c9d49680065ba3)
Diffstat (limited to 'source4/setup')
-rw-r--r-- | source4/setup/memberof.conf | 9 | ||||
-rw-r--r-- | source4/setup/slapd.conf | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/source4/setup/memberof.conf b/source4/setup/memberof.conf new file mode 100644 index 0000000000..77e57c86d4 --- /dev/null +++ b/source4/setup/memberof.conf @@ -0,0 +1,9 @@ +overlay memberof +memberof-dn cn=samba-admin,cn=samba +memberof-dangling error +memberof-refint TRUE +memberof-group-oc top +memberof-member-ad ${MEMBER_ATTR} +memberof-memberof-ad ${MEMBEROF_ATTR} +memberof-dangling-error 32 + diff --git a/source4/setup/slapd.conf b/source4/setup/slapd.conf index 1dda752af0..68e494c27d 100644 --- a/source4/setup/slapd.conf +++ b/source4/setup/slapd.conf @@ -49,6 +49,7 @@ directory ${LDAPDIR}/db/samba database hdb suffix ${SCHEMADN} +rootdn cn=Manager,${SCHEMADN} directory ${LDAPDIR}/db/schema index objectClass eq index samAccountName eq @@ -66,6 +67,7 @@ syncprov-sessionlog 100 database hdb suffix ${CONFIGDN} +rootdn cn=Manager,${CONFIGDN} directory ${LDAPDIR}/db/config index objectClass eq index samAccountName eq @@ -86,6 +88,7 @@ syncprov-sessionlog 100 database hdb suffix ${DOMAINDN} +rootdn cn=Manager,${DOMAINDN} directory ${LDAPDIR}/db/user index objectClass eq index samAccountName eq |