diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-10-13 09:40:50 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-10-13 09:40:50 +0200 |
| commit | c8af4491df2a926d1c27f4af5eba855ef759b0f7 (patch) | |
| tree | 6b200cee4b0a39ac0d8d08395cbe7af532dced3d | |
| parent | 578f65e8ca63c50ef198099a99cb0711e4c4e7b2 (diff) | |
Include OpenLDAP schema in distribution
| -rw-r--r-- | src/main/config/cristal.schema | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/main/config/cristal.schema b/src/main/config/cristal.schema new file mode 100644 index 0000000..2370964 --- /dev/null +++ b/src/main/config/cristal.schema @@ -0,0 +1,49 @@ +attributetype ( 1.3.6.1.4.1.96.64.10.1 NAME 'intsyskey'
+ EQUALITY integerMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
+
+attributetype ( 1.3.6.1.4.1.96.64.10.6 NAME 'ior'
+ EQUALITY caseIgnoreMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
+ SINGLE-VALUE )
+
+attributetype ( 1.3.6.1.4.1.96.64.10.7 NAME 'cristalprop'
+ EQUALITY caseIgnoreMatch
+ SUBSTR caseIgnoreSubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.10 NAME 'cristalentity' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( intsyskey $ ior $ cristalprop ) )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.13 NAME 'cristalcontext' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( intsyskey ) )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.15 NAME 'aliasObject' SUP alias STRUCTURAL
+ MUST ( cn $ objectclass $ aliasedObjectName ) )
+
+# agent
+attributetype ( 1.3.6.1.4.1.96.64.10.8 NAME 'jobList'
+ EQUALITY booleanMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
+
+ # uid must store userName if agent (for authentication to work)
+objectclass ( 1.3.6.1.4.1.96.64.10.14 NAME 'cristalagent' SUP cristalentity STRUCTURAL
+ MUST ( userPassword $ uid ) )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.16 NAME 'cristalrole' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( jobList $ uniqueMember ) )
+
+# old
+
+attributetype ( 1.3.6.1.4.1.96.64.10.2 NAME 'propval'
+ EQUALITY caseIgnoreMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
+ SINGLE-VALUE )
+
+objectclass ( 1.3.6.1.4.1.96.64.10.11 NAME 'cristalproperty' SUP top STRUCTURAL
+ MUST ( cn $ objectclass )
+ MAY ( propval ) )
+
|
