From 33ff3332beb62ed2305a667556ca168452ca0e6e Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Mon, 17 Mar 2003 16:20:22 +0000 Subject: [PATCH] add ldap schema --- ldap.schema | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ldap.schema diff --git a/ldap.schema b/ldap.schema new file mode 100644 index 0000000..75aaa1d --- /dev/null +++ b/ldap.schema @@ -0,0 +1,44 @@ +# A schema for the Berkely automounter (AMD) +# Authored by Erez Zadok and/or source maintainers +# Definition by Tim Colles + +# OID Base is 1.3.6.1.4.1.aaa.bbb.ccc +# +# Syntaxes are under 1.3.6.1.4.1.aaa.bbb.ccc.3.175-199 +# Attribute types are under 1.3.6.1.4.1.aaa.bbb.ccc.2.175-199 +# Object classes are under 1.3.6.1.4.1.aaa.bbb.ccc.1.175-199 + +# Atribute Type Definitions + +attributetype ( 1.3.6.1.4.1.aaa.bbb.ccc.2.175 NAME 'amdmapTimestamp' + DESC 'Probably the time the map was last modified' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.aaa.bbb.ccc.2.176 NAME 'amdmapName' + DESC 'The symbolic name of the map, ie. map_name' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.aaa.bbb.ccc.2.177 NAME 'amdmapKey' + DESC 'The key value for this entry' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.aaa.bbb.ccc.2.178 NAME 'amdmapValue' + DESC 'The mount information for this entry' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) + +# Object Class Definitions + +objectclass ( 1.3.6.1.4.1.aaa.bbb.ccc.1.175 NAME 'amdmapTimestamp' + SUP top STRUCTURAL + DESC 'Timestamp for an AMD map' + MUST ( cn $ amdmapName $ amdmapTimestamp ) ) + +objectclass ( 1.3.6.1.4.1.aaa.bbb.ccc.1.176 NAME 'amdmap' + SUP top STRUCTURAL + DESC 'Defines an AMD map entry' + MUST ( cn $ amdmapName $ amdmapKey $ amdmapValue ) ) + -- 2.43.0