summaryrefslogtreecommitdiffstats
path: root/ldap/ldif
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2007-09-28 23:34:55 +0000
committerNathan Kinder <nkinder@redhat.com>2007-09-28 23:34:55 +0000
commite80ce4e03d91c386fc11135bf459e67f85afd7de (patch)
tree8c7421be5e31a758beba71265f90c3cfcef3c5b0 /ldap/ldif
parent55fc8e4dc7d4b1d90f45637f8679325ce198c278 (diff)
downloadds-e80ce4e03d91c386fc11135bf459e67f85afd7de.tar.gz
ds-e80ce4e03d91c386fc11135bf459e67f85afd7de.tar.xz
ds-e80ce4e03d91c386fc11135bf459e67f85afd7de.zip
Resolves: 311851
Summary: Remove hard-coded SASL mappings and use config based regex mappings instead.
Diffstat (limited to 'ldap/ldif')
-rw-r--r--ldap/ldif/template-sasl.ldif.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/ldap/ldif/template-sasl.ldif.in b/ldap/ldif/template-sasl.ldif.in
new file mode 100644
index 00000000..0455a956
--- /dev/null
+++ b/ldap/ldif/template-sasl.ldif.in
@@ -0,0 +1,32 @@
+# replace the Suffix token with your suffix e.g. dc=example,dc=com
+dn: cn=Kerberos uid mapping,cn=mapping,cn=sasl,cn=config
+objectClass: top
+objectClass: nsSaslMapping
+cn: Kerberos uid mapping
+nsSaslMapRegexString: \(.*\)@\(.*\)\.\(.*\)
+nsSaslMapBaseDNTemplate: dc=\2,dc=\3
+nsSaslMapFilterTemplate: (uid=\1)
+
+dn: cn=rfc 2829 dn syntax,cn=mapping,cn=sasl,cn=config
+objectClass: top
+objectClass: nsSaslMapping
+cn: rfc 2829 dn syntax
+nsSaslMapRegexString: ^dn:\(.*\)
+nsSaslMapBaseDNTemplate: \1
+nsSaslMapFilterTemplate: (objectclass=*)
+
+dn: cn=rfc 2829 u syntax,cn=mapping,cn=sasl,cn=config
+objectClass: top
+objectClass: nsSaslMapping
+cn: rfc 2829 u syntax
+nsSaslMapRegexString: ^u:\(.*\)
+nsSaslMapBaseDNTemplate: %ds_suffix%
+nsSaslMapFilterTemplate: (uid=\1)
+
+dn: cn=uid mapping,cn=mapping,cn=sasl,cn=config
+objectClass: top
+objectClass: nsSaslMapping
+cn: uid mapping
+nsSaslMapRegexString: ^[^:@]+$
+nsSaslMapBaseDNTemplate: %ds_suffix%
+nsSaslMapFilterTemplate: (uid=&)