summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-05-13 17:11:51 -0400
committerRob Crittenden <rcritten@redhat.com>2009-05-19 09:53:40 -0400
commit2d0624cff52e38f0d2aa275cdbfd537aacb27b19 (patch)
treeec8a7790fa0b8034de3a506f3e0c9acf60e5f0ee /install
parent4376ad0b1097faf22b13684bc07b0815a0c1e10f (diff)
downloadfreeipa.git-2d0624cff52e38f0d2aa275cdbfd537aacb27b19.tar.gz
freeipa.git-2d0624cff52e38f0d2aa275cdbfd537aacb27b19.tar.xz
freeipa.git-2d0624cff52e38f0d2aa275cdbfd537aacb27b19.zip
Add schema-compat translation from our netgroup schema to nisNetgroup triples
Diffstat (limited to 'install')
-rw-r--r--install/share/nis.uldif17
1 files changed, 16 insertions, 1 deletions
diff --git a/install/share/nis.uldif b/install/share/nis.uldif
index 78c5fa1a..86f521b6 100644
--- a/install/share/nis.uldif
+++ b/install/share/nis.uldif
@@ -70,5 +70,20 @@ default:objectclass: top
default:objectclass: extensibleObject
default:nis-domain: $DOMAIN
default:nis-map: netgroup
-default:nis-base: cn=ng, cn=compat, cn=accounts, $SUFFIX
+default:nis-base: cn=ng, cn=compat, $SUFFIX
default:nis-secure: no
+
+dn: cn=ng,cn=Schema Compatibility,cn=plugins,cn=config
+add:objectClass: top
+add:objectClass: extensibleObject
+add:cn: ng
+add:schema-compat-container-group: 'cn=compat, $SUFFIX'
+add:schema-compat-container-rdn: cn=ng
+add:schema-compat-check-access: yes
+add:schema-compat-search-base: 'cn=ng,cn=alt,$SUFFIX'
+add:schema-compat-search-filter: !(cn=ng)
+add:schema-compat-entry-rdn: cn=%{cn}
+add:schema-compat-entry-attribute: objectclass=nisNetgroup
+add:schema-compat-entry-attribute: 'memberNisNetgroup=%deref_r("member","cn")'
+add:schema-compat-entry-attribute: 'memberNisNetgroup=%referred_r("cn=ng","memberOf","cn")'
+add:schema-compat-entry-attribute: 'nisNetgroupTriple=(%link("%collect(\"%{externalHost}\",\"%deref(\\\"memberHost\\\",\\\"fqdn\\\")\",\"%deref_r(\\\"member\\\",\\\"fqdn\\\")\",\"%deref_r(\\\"memberHost\\\",\\\"member\\\",\\\"fqdn\\\")\")","-",",","%collect(\"%deref(\\\"memberUser\\\",\\\"uid\\\")\",\"%deref_r(\\\"member\\\",\\\"uid\\\")\",\"%deref_r(\\\"memberUser\\\",\\\"member\\\",\\\"uid\\\")\")","-"),%{nisDomainName:-})'