summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-09-19 22:06:17 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-09-19 22:06:17 +0200
commitee914355bfe73e3aed9e3a04686ef241cef77b68 (patch)
treec441b8c25f77a5c611ebb5a6b00085e3c6309e84 /contrib
parent5765b05c65acdd2038d3eed270f521b1c499efcc (diff)
downloadweb-ee914355bfe73e3aed9e3a04686ef241cef77b68.tar.gz
web-ee914355bfe73e3aed9e3a04686ef241cef77b68.tar.bz2
web-ee914355bfe73e3aed9e3a04686ef241cef77b68.zip
contrib/ldap: add schema for servicePassword
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ldap/spline-accounts.ldif8
-rw-r--r--contrib/ldap/spline-accounts.schema7
2 files changed, 15 insertions, 0 deletions
diff --git a/contrib/ldap/spline-accounts.ldif b/contrib/ldap/spline-accounts.ldif
new file mode 100644
index 0000000..ed0f7fc
--- /dev/null
+++ b/contrib/ldap/spline-accounts.ldif
@@ -0,0 +1,8 @@
+dn: cn={4}spline-accounts
+objectClass: olcSchemaConfig
+cn: {4}spline-accounts
+olcObjectClasses: {0}( 1.3.6.1.3.1 NAME 'servicePassword'
+ DESC 'extra passwords for different services' SUP top
+ STRUCTURAL MUST ( uid $ userPassword ) )
+structuralObjectClass: olcSchemaConfig
+
diff --git a/contrib/ldap/spline-accounts.schema b/contrib/ldap/spline-accounts.schema
new file mode 100644
index 0000000..17392d9
--- /dev/null
+++ b/contrib/ldap/spline-accounts.schema
@@ -0,0 +1,7 @@
+# Custom LDAP Schema used for the account service by spline
+
+objectclass ( 1.3.6.1.3.1 NAME 'servicePassword'
+ DESC 'extra passwords for different services'
+ SUP top STRUCTURAL
+ MUST ( uid $ userPassword ) )
+