Blame SOURCES/autofs-5.1.6-update-ldap-READMEs-and-schema-definitions.patch

135b98
autofs-5.1.6 - update ldap READMEs and schema definitions
135b98
135b98
From: Ian Kent <raven@themaw.net>
135b98
135b98
The autofs schema in samples/autofs.schema should not be used for
135b98
autofs map information, it's very old and may be inaccurate or may
135b98
conflict with other schema definitions included in LDAP server
135b98
distributions.
135b98
135b98
The README.autofs-schema has been updated to alert people to this
135b98
but the schema file has not yet been removed.
135b98
135b98
A new README.ldap-schema has been added which recommends using either
135b98
of rfc2307 or rfc2307bis schema for autofs Sun format map information
135b98
stored in LDAP and at least one of these schema should be included in
135b98
LDAP server distributions. Additionally the README notes the schema
135b98
that needs to be used for autofs amd format maps is present in the
135b98
file samples/am-utils-ldap.schema.
135b98
135b98
Ian
135b98
135b98
Signed-off-by: Ian Kent <raven@themaw.net>
135b98
---
135b98
 README.autofs-schema         |    8 
135b98
 README.ldap-schema           |   14 +
135b98
 samples/am-utils-ldap-id.txt |  360 +++++++++++++++++++++++++++++++++++++++++++
135b98
 samples/am-utils-ldap.schema |   52 ++++++
135b98
 samples/rfc2307.schema       |   37 ++++
135b98
 samples/rfc2307bis.schema    |  310 +++++++++++++++++++++++++++++++++++++
135b98
 6 files changed, 777 insertions(+), 4 deletions(-)
135b98
 create mode 100644 README.ldap-schema
135b98
 create mode 100644 samples/am-utils-ldap-id.txt
135b98
 create mode 100644 samples/am-utils-ldap.schema
135b98
 create mode 100644 samples/rfc2307.schema
135b98
 create mode 100644 samples/rfc2307bis.schema
135b98
135b98
--- autofs-5.1.4.orig/README.autofs-schema
135b98
+++ autofs-5.1.4/README.autofs-schema
135b98
@@ -9,10 +9,10 @@ not clear what schema to use for Linux a
135b98
 
135b98
 The schema was corrected somewhere along the line but the autofs
135b98
 distribution copy was never updated. The schema has now been
135b98
-updated but it is not recommended for use as the schema for autofs
135b98
-map information.
135b98
+updated but may not be accurate and may conflict with other LDAP
135b98
+schemas so it is not recommended for use for autofs map information.
135b98
 
135b98
-The rfc2307 or, preferably the, rfc2307bis schema is the recommened
135b98
-schema to use.
135b98
+The rfc2307 or the rfc2307bis schema is the recommened schema to
135b98
+use, based on requirements.
135b98
 
135b98
 Ian
135b98
--- /dev/null
135b98
+++ autofs-5.1.4/README.ldap-schema
135b98
@@ -0,0 +1,14 @@
135b98
+LDAP Schema
135b98
+===========
135b98
+
135b98
+LDAP Schema definitions may be found in the samples sub-directory.
135b98
+
135b98
+The ldap schema rfc2307.schema and rfc2307bis.schema may be used by
135b98
+autofs for Sun format automount maps, the choice of which is used is
135b98
+dependent on user needs. They are included for reference only as at
135b98
+least one of these should be included in LDAP server distributions.
135b98
+
135b98
+The ldap schema am-utils-ldap.schema and am-utils-ldap-id.txt describe
135b98
+the schema used by autofs for amd format maps.
135b98
+
135b98
+Ian
135b98
--- /dev/null
135b98
+++ autofs-5.1.4/samples/am-utils-ldap-id.txt
135b98
@@ -0,0 +1,360 @@
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+INTERNET-DRAFT                                                         Leif Johansson
135b98
+Intented Category: Experimental                                  Stockholm University
135b98
+
135b98
+
135b98
+
135b98
+            A directory (X.500 and LDAPv3) schema for Berkely automounter
135b98
+
135b98
+
135b98
+1. Status of this Memo
135b98
+
135b98
+   This memo describes a directory (LDAP or X.500) schema for storing amd (Berkely-
135b98
+   style automounter) mount info maps. The schema is currently beeing supported by
135b98
+   the (beta version of the) am-utils version 6 package [AMUTILS].
135b98
+
135b98
+2. Overview and Rationale
135b98
+
135b98
+   Directory services such as X.500 [X500] or LDAP [RFC2251] are a natural choice of
135b98
+   repository for amd mount map databases. All Object Identifiers in this document
135b98
+   are prefixed by amdSchema-id to be assigned later. The relation between this
135b98
+   schema and the automount schema elements in [HOWARD] are mostly superficial. The
135b98
+   model for the elements in [HOWARD] was the SUN automounter which has quite a
135b98
+   different syntax for mount maps. Furthermore the intended usage of this schema
135b98
+   differs from that of [HOWARD] in many respects.
135b98
+
135b98
+3. DSA requirements
135b98
+
135b98
+   Directory servers implementing this schema SHOULD maintain the modifyTimestamp
135b98
+   operational attribute. If not the amdMapCacheTtl attribute SHOULD be set to 0
135b98
+   indicating to clients that caching of map entries SHOULD be turned off. Clients
135b98
+   wishing to use the amdMap schema MAY use the modifyTimestamp information to set
135b98
+   the ttl for internal caching schemes. A value of 0 for the amdMapCacheTtl must
135b98
+   result in clients turning off any local caching.
135b98
+
135b98
+4. Syntax definitions
135b98
+
135b98
+   The following attribute syntax is defined in this document:
135b98
+
135b98
+        amdlocationlist
135b98
+
135b98
+   This syntax represents a amd map value. This is the syntax expressed in BNF using
135b98
+   definitions from [RFC2252]:
135b98
+
135b98
+        amdlocationlist      = amdlocationselection |
135b98
+                               amdlocationlist whsp "||" whsp amdlocationselection
135b98
+
135b98
+        amdlocationselection = amdlocation |
135b98
+                               amdlocationselection whsp amdlocation
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Johansson                                                                    [Page 1]
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Internet draft                 Berkeley AMD LDAP Schema                 30 March 1998
135b98
+
135b98
+
135b98
+        amdlocation          = amdlocationinfo |
135b98
+                               "-" amdlocationinfo |
135b98
+                               "-"
135b98
+
135b98
+        amdlocationinfo      = seloropt |
135b98
+                               amdlocationinfo ";" seloropt |
135b98
+                               ";"
135b98
+
135b98
+        seloropt             = seletion |
135b98
+                               optass
135b98
+
135b98
+        selection            = keystring "==" printablestring
135b98
+                               keystring "!=" printablestring
135b98
+
135b98
+        optass               = keystring
135b98
+
135b98
+   X.500 servers or LDAPv3 servers (supporting the binary attribute option) may use
135b98
+   the following syntax definition:
135b98
+
135b98
+        AmdLocationList ::= SEQUENCE OF {
135b98
+                               SEQUENCE OF {
135b98
+                                  location     AmdLocation
135b98
+                               }
135b98
+                            }
135b98
+
135b98
+        AmdLocation     ::= SET OF {
135b98
+                               CHOICE {
135b98
+                                  location     [0] AmdLocationInfo
135b98
+                                  notlocation  [1] AmdLocationInfo
135b98
+                                  not          [2] NULL
135b98
+                               }
135b98
+                            }
135b98
+
135b98
+        AmdLocationInfo ::= SET OF {
135b98
+                               CHOICE {
135b98
+                                  selection    [0] AmdSelection
135b98
+                                  option       [1] AmdOption
135b98
+                               }
135b98
+                            }
135b98
+
135b98
+        AmdSelection    ::= CHOICE {
135b98
+                               eq     [0] AttributeAndValue
135b98
+                               ne     [1] AttributeAndValue
135b98
+                            }
135b98
+
135b98
+        AmdOption       ::= AttributeAndValue
135b98
+        AttributeAndValue ::= SEQUENCE {
135b98
+                                 attribute     IA5String
135b98
+
135b98
+
135b98
+
135b98
+Johansson                                                                    [Page 2]
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Internet draft                 Berkeley AMD LDAP Schema                 30 March 1998
135b98
+
135b98
+
135b98
+                                 value         IA5String
135b98
+                              }
135b98
+
135b98
+5. Attribute types
135b98
+
135b98
+   The following attribute types are defined in this document:
135b98
+
135b98
+        amdMapName
135b98
+        amdMapCacheTtl
135b98
+        amdMapEntry
135b98
+        amdMapEntryKey
135b98
+        amdMapEntryValue
135b98
+
135b98
+        amdSchema-a OBJECT IDENTIFIER ::= { amdSchema-id 1 }
135b98
+
135b98
+        amdMapName      ATTRIBUTE ::= {
135b98
+              WITH SYNTAX              IA5String
135b98
+              EQUALITY MATCHING RULE   caseIgoreExactMatch
135b98
+              --ID                     { amdSchema-a 1 }
135b98
+              DESCRIPTION
135b98
+               "This attribute is the symbolic and in the naming
135b98
+                context unique name of an amd map. This corresponds
135b98
+                in the case of a flat file database to the name of
135b98
+                the file or the mount-point of the map."
135b98
+           }
135b98
+
135b98
+
135b98
+        amdMapCacheTtl
135b98
+           ATTRIBUTE ::= {
135b98
+              WITH SYNTAX              Integer
135b98
+              EQUALITY MATCHING RULE   integerExactMatch
135b98
+              --ID                     { amdSchema-a 2 }
135b98
+              SINGLE VALUED
135b98
+              DESCRIPTION
135b98
+               "The maximum time-to-live for the entries in this
135b98
+                map. After this many milliseconds the map has to
135b98
+                be cleared from local caches and reloaded. A value
135b98
+                of 0 disables caching."
135b98
+           }
135b98
+
135b98
+        amdMapEntry
135b98
+           ATTRIBUTE ::= {
135b98
+              WITH SYNTAX              DistinguishedName
135b98
+              EQUALITY MATHCING RULE   dNCaseIgnoreExactMatch
135b98
+              --ID                     { amdSchema-a 3 }
135b98
+              DESCRIPTION
135b98
+               "A multivalued attribute listing the distinguished
135b98
+                names of the amdMapEntries making up this amdMap
135b98
+
135b98
+
135b98
+
135b98
+Johansson                                                                    [Page 3]
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Internet draft                 Berkeley AMD LDAP Schema                 30 March 1998
135b98
+
135b98
+
135b98
+                object."
135b98
+           }
135b98
+
135b98
+        amdMapEntryKey ::= {
135b98
+           ATTRIBUTE ::= {
135b98
+              WITH SYNTAX              IA5String
135b98
+              EQUALITY MATCHING RULE   stringExactMatch
135b98
+              --ID                     { amdSchema-a 4 }
135b98
+              SINGLE VALUED
135b98
+              DESCRIPTION
135b98
+               "The value of this attribute is usually the name of
135b98
+                a mountpoint for this amdMapEntry."
135b98
+           }
135b98
+
135b98
+        amdMapEntryValue ::= {
135b98
+           ATTRIBUTE ::= {
135b98
+              WITH SYNTAX              AmdLocationList
135b98
+              --ID                     { amdSchema-a 5 }
135b98
+              DESCRIPTION
135b98
+               "This is the actual mount information for the amdMapEntry
135b98
+                using the syntax described above."
135b98
+           }
135b98
+
135b98
+        amdMapEntryKey ::= {
135b98
+           ATTRIBUTE ::= {
135b98
+              WITH SYNTAX              IA5String
135b98
+              EQUALITY MATCHING RULE   stringExactMatch
135b98
+              --ID                     { amdSchema-a 4 }
135b98
+              SINGLE VALUED
135b98
+              DESCRIPTION
135b98
+               "The value of this attribute is usually the name of
135b98
+                a mountpoint for this amdMapEntry."
135b98
+           }
135b98
+
135b98
+        amdMapEntryValue ::= {
135b98
+           ATTRIBUTE ::= {
135b98
+              WITH SYNTAX              AmdLocationList
135b98
+              --ID                     { amdSchema-a 5 }
135b98
+              DESCRIPTION
135b98
+               "This is the actual mount information for the amdMapEntry
135b98
+                using the syntax described above."
135b98
+           }
135b98
+
135b98
+6. Object classes
135b98
+
135b98
+   The following object classes are defined in this document:
135b98
+
135b98
+             amdMap
135b98
+
135b98
+
135b98
+
135b98
+Johansson                                                                    [Page 4]
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Internet draft                 Berkeley AMD LDAP Schema                 30 March 1998
135b98
+
135b98
+
135b98
+             amdMapEntry
135b98
+
135b98
+   defined as follows:
135b98
+
135b98
+             amdSchema-oc ::= { amdSchema-id 2 }
135b98
+
135b98
+             amdMap OBJECT-CLASS ::= {
135b98
+                       SUBCLASS OF            { top }
135b98
+                       KIND                   auxiliary
135b98
+                       --ID                   { amdSchema-oc 1 }
135b98
+                       MAY CONTAIN            { amdMapCacheTtl , cn }
135b98
+                       MUST CONTAIN           { amdMapName , amdMapEntry }
135b98
+                    }
135b98
+
135b98
+             amdMapEntry OBJECT-CLASS ::= {
135b98
+                            SUBCLASS OF       { top }
135b98
+                            KIND              structural
135b98
+                            --ID              { amdSchema-oc 2 }
135b98
+                            MUST CONTAIN      {
135b98
+                                                amdMapName ,
135b98
+                                                amdEntryKey ,
135b98
+                                                amdEntryValue ,
135b98
+                                              }                       MAY CONTAIN
135b98
+   { cn }                       DESCRIPTION                     "An entry of this
135b98
+   object class describes mount                         information relative to a
135b98
+   certain amdMap entry"
135b98
+                         }
135b98
+
135b98
+7. Examples
135b98
+
135b98
+
135b98
+
135b98
+8. Security Considerations
135b98
+
135b98
+   Due to the security problems posed by NFS care should be taken not to advertise
135b98
+   exported filesystems. Therefore it is often desirable to limit access to entries
135b98
+   carrying amd mount map information to those systems to which the corresponding
135b98
+   filesystems have been exported.
135b98
+
135b98
+9. References
135b98
+
135b98
+      [AMUTILS]
135b98
+           am-utils homepage: http://shekel.cs.columbia.edu/~erez/am-utils.html
135b98
+
135b98
+      [RFC2251]
135b98
+           M. Wahl, T. Howes, S. Kille, "Lightweight Directory Access
135b98
+           Protocol (v3)", RFC 2251, December 1997.
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Johansson                                                                    [Page 5]
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Internet draft                 Berkeley AMD LDAP Schema                 30 March 1998
135b98
+
135b98
+
135b98
+      [RFC2252]
135b98
+           M. Wahl, A. Coulbeck, T. Howes, S. Kille, "Lightweight Directory
135b98
+           Access Protocol (v3): Attribute Syntax Definitions", RFC 2252,
135b98
+           December 1997.
135b98
+
135b98
+      [RFC2253]
135b98
+           M. Wahl, S. Kille, T. Howes, "Lightweight Directory Access
135b98
+           Protocol (v3): UTF-8 String Representation of Distinguished
135b98
+           Names", RFC 2253, December 1997.
135b98
+
135b98
+      [HOWARD]
135b98
+           Luke Howard, "An Approach for Using LDAP as a Network
135b98
+           Information Service", draft-howard-nis-schema-??.txt, Internet
135b98
+           draft.
135b98
+
135b98
+      [X500]
135b98
+           ITU something or other.
135b98
+
135b98
+
135b98
+
135b98
+Author's Address
135b98
+
135b98
+
135b98
+   Leif Johansson
135b98
+   Department of Mathematics
135b98
+   Stockholm University
135b98
+   S-106 91 Stockholm
135b98
+            SWEDEN
135b98
+
135b98
+   Email: leifj AT matematik.su.se
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+
135b98
+Johansson                                                                    [Page 6]
135b98
+
135b98
+
135b98
--- /dev/null
135b98
+++ autofs-5.1.4/samples/am-utils-ldap.schema
135b98
@@ -0,0 +1,52 @@
135b98
+# A schema for the Berkeley automounter (AMD)
135b98
+# Authored by Erez Zadok and/or source maintainers
135b98
+# Definition by Tim Colles <timc at dai.ed.ac.uk>
135b98
+# Revised by Adam Morley <adam at gmi.com>
135b98
+
135b98
+# OID Base is 1.3.6.1.4.1.10180
135b98
+#
135b98
+# Syntaxes are under 1.3.6.1.4.1.10180.3.175-199
135b98
+# Attribute types are under 1.3.6.1.4.1.10180.2.175-199
135b98
+# Object classes are under 1.3.6.1.4.1.10180.1.175-199
135b98
+
135b98
+# Attribute Type Definitions
135b98
+
135b98
+attributetype	( 1.3.6.1.4.1.10180.2.175
135b98
+	NAME	'amdmapTimestamp'
135b98
+	DESC	'Probably the time the map was last modified'
135b98
+	EQUALITY	integerMatch
135b98
+	SYNTAX	1.3.6.1.4.1.1466.115.121.1.27
135b98
+	SINGLE-VALUE )
135b98
+
135b98
+attributetype	( 1.3.6.1.4.1.10180.2.176
135b98
+	NAME	'amdmapName'
135b98
+	DESC	'The symbolic name of the map, ie. map_name'
135b98
+	EQUALITY	caseIgnoreMatch
135b98
+	SYNTAX	1.3.6.1.4.1.1466.115.121.1.15
135b98
+	SINGLE-VALUE )
135b98
+
135b98
+attributetype	( 1.3.6.1.4.1.10180.2.177
135b98
+	NAME	'amdmapKey'
135b98
+	DESC	'The key value for this entry'
135b98
+	EQUALITY	caseIgnoreMatch
135b98
+	SYNTAX	1.3.6.1.4.1.1466.115.121.1.15
135b98
+	SINGLE-VALUE )
135b98
+
135b98
+attributetype	( 1.3.6.1.4.1.10180.2.178
135b98
+	NAME	'amdmapValue'
135b98
+	DESC	'The mount information for this entry'
135b98
+	EQUALITY	caseIgnoreMatch
135b98
+	SYNTAX	1.3.6.1.4.1.1466.115.121.1.15
135b98
+	SINGLE-VALUE )
135b98
+
135b98
+# Object Class Definitions
135b98
+
135b98
+objectclass	( 1.3.6.1.4.1.10180.1.175 NAME 'amdmapTimestamp'
135b98
+	SUP	top STRUCTURAL
135b98
+	DESC	'Timestamp for an AMD map'
135b98
+	MUST	( cn $ amdmapName $ amdmapTimestamp ) )
135b98
+
135b98
+objectclass	( 1.3.6.1.4.1.10180.1.176 NAME 'amdmap'
135b98
+	SUP	top STRUCTURAL
135b98
+	DESC	'Defines an AMD map entry'
135b98
+	MUST	( cn $ amdmapName $ amdmapKey $ amdmapValue ) )
135b98
--- /dev/null
135b98
+++ autofs-5.1.4/samples/rfc2307.schema
135b98
@@ -0,0 +1,37 @@
135b98
+attributeType ( 1.3.6.1.1.1.1.31
135b98
+	NAME 'automountMapName'
135b98
+	DESC 'automount Map Name'
135b98
+	EQUALITY caseExactIA5Match
135b98
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE
135b98
+	X-ORIGIN 'user defined' )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.32
135b98
+	NAME 'automountKey'
135b98
+	DESC 'Automount Key value'
135b98
+	EQUALITY caseExactIA5Match
135b98
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE
135b98
+	X-ORIGIN 'user defined' )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.33
135b98
+	NAME 'automountInformation'
135b98
+	DESC 'Automount information'
135b98
+	EQUALITY caseExactIA5Match
135b98
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE
135b98
+	X-ORIGIN 'user defined' )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.16
135b98
+	NAME 'automountMap'
135b98
+	DESC 'Automount Map information'
135b98
+	SUP top STRUCTURAL
135b98
+	MUST automountMapName
135b98
+	MAY description
135b98
+	X-ORIGIN 'user defined' )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.17
135b98
+	NAME 'automount'
135b98
+	DESC 'Automount information'
135b98
+	SUP top STRUCTURAL
135b98
+	MUST ( automountKey $ automountInformation )
135b98
+	MAY description
135b98
+	X-ORIGIN 'user defined' )
135b98
+
135b98
--- /dev/null
135b98
+++ autofs-5.1.4/samples/rfc2307bis.schema
135b98
@@ -0,0 +1,310 @@
135b98
+###
135b98
+# Extracted from: http://tools.ietf.org/html/draft-howard-rfc2307bis-02
135b98
+###
135b98
+
135b98
+# Builtin
135b98
+#attributeType ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
135b98
+#    DESC 'An integer uniquely identifying a user in an
135b98
+#          administrative domain'
135b98
+#    EQUALITY integerMatch
135b98
+#    ORDERING integerOrderingMatch
135b98
+#    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+#    SINGLE-VALUE )
135b98
+
135b98
+# Builtin
135b98
+#attributeType ( 1.3.6.1.1.1.1.1 NAME 'gidNumber'
135b98
+#    DESC 'An integer uniquely identifying a group in an
135b98
+#          administrative domain'
135b98
+#    EQUALITY integerMatch
135b98
+#    ORDERING integerOrderingMatch
135b98
+#    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+#    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.2 NAME 'gecos'
135b98
+    DESC 'The GECOS field; the common name'
135b98
+    EQUALITY caseIgnoreMatch
135b98
+    SUBSTR caseIgnoreSubstringsMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.3 NAME 'homeDirectory'
135b98
+    DESC 'The absolute path to the home directory'
135b98
+    EQUALITY caseExactIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.4 NAME 'loginShell'
135b98
+    DESC 'The path to the login shell'
135b98
+    EQUALITY caseExactIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.5 NAME 'shadowLastChange'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.6 NAME 'shadowMin'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.7 NAME 'shadowMax'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.8 NAME 'shadowWarning'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.9 NAME 'shadowInactive'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.10 NAME 'shadowExpire'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.11 NAME 'shadowFlag'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
135b98
+    EQUALITY caseExactMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.13 NAME 'memberNisNetgroup'
135b98
+    EQUALITY caseExactMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
135b98
+    DESC 'Netgroup triple'
135b98
+    EQUALITY caseIgnoreMatch
135b98
+    SUBSTR caseIgnoreSubstringsMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.15 NAME 'ipServicePort'
135b98
+    DESC 'Service port number'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.16 NAME 'ipServiceProtocol'
135b98
+    DESC 'Service protocol name'
135b98
+    EQUALITY caseIgnoreMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.17 NAME 'ipProtocolNumber'
135b98
+    DESC 'IP protocol number'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.18 NAME 'oncRpcNumber'
135b98
+    DESC 'ONC RPC number'
135b98
+    EQUALITY integerMatch
135b98
+    ORDERING integerOrderingMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.19 NAME 'ipHostNumber'
135b98
+    DESC 'IPv4 addresses as a dotted decimal omitting leading
135b98
+          zeros or IPv6 addresses as defined in RFC2373'
135b98
+    EQUALITY caseIgnoreIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.20 NAME 'ipNetworkNumber'
135b98
+    DESC 'IP network omitting leading zeros, eg. 192.168'
135b98
+    EQUALITY caseIgnoreIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.21 NAME 'ipNetmaskNumber'
135b98
+    DESC 'IP netmask omitting leading zeros, eg. 255.255.255.0'
135b98
+    EQUALITY caseIgnoreIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.22 NAME 'macAddress'
135b98
+    DESC 'MAC address in maximal, colon separated hex
135b98
+          notation, eg. 00:00:92:90:ee:e2'
135b98
+    EQUALITY caseIgnoreIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.23 NAME 'bootParameter'
135b98
+    DESC 'rpc.bootparamd parameter'
135b98
+    EQUALITY caseExactIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.24 NAME 'bootFile'
135b98
+    DESC 'Boot image name'
135b98
+    EQUALITY caseExactIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
135b98
+    DESC 'Name of a generic NIS map'
135b98
+    EQUALITY caseIgnoreMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{64} )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry'
135b98
+    DESC 'A generic NIS entry'
135b98
+    EQUALITY caseExactMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024}
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.28 NAME 'nisPublicKey'
135b98
+    DESC 'NIS public key'
135b98
+    EQUALITY octetStringMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.29 NAME 'nisSecretKey'
135b98
+    DESC 'NIS secret key'
135b98
+    EQUALITY octetStringMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.30 NAME 'nisDomain'
135b98
+    DESC 'NIS domain'
135b98
+    EQUALITY caseIgnoreIA5Match
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.31 NAME 'automountMapName'
135b98
+    DESC 'automount Map Name'
135b98
+    EQUALITY caseExactMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.32 NAME 'automountKey'
135b98
+    DESC 'Automount Key value'
135b98
+    EQUALITY caseExactMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+attributeType ( 1.3.6.1.1.1.1.33 NAME 'automountInformation'
135b98
+    DESC 'Automount information'
135b98
+    EQUALITY caseExactMatch
135b98
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
135b98
+    SINGLE-VALUE )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY
135b98
+    DESC 'Abstraction of an account with POSIX attributes'
135b98
+    MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
135b98
+    MAY ( userPassword $ loginShell $ gecos $
135b98
+          description ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY
135b98
+    DESC 'Additional attributes for shadow passwords'
135b98
+    MUST uid
135b98
+    MAY ( userPassword $ description $
135b98
+          shadowLastChange $ shadowMin $ shadowMax $
135b98
+          shadowWarning $ shadowInactive $
135b98
+          shadowExpire $ shadowFlag ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top AUXILIARY
135b98
+    DESC 'Abstraction of a group of accounts'
135b98
+    MUST gidNumber
135b98
+    MAY ( userPassword $ memberUid $
135b98
+          description ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.3 NAME 'ipService' SUP top STRUCTURAL
135b98
+    DESC 'Abstraction an Internet Protocol service.
135b98
+          Maps an IP port and protocol (such as tcp or udp)
135b98
+          to one or more names; the distinguished value of
135b98
+          the cn attribute denotes the services canonical
135b98
+          name'
135b98
+    MUST ( cn $ ipServicePort $ ipServiceProtocol )
135b98
+    MAY description )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.4 NAME 'ipProtocol' SUP top STRUCTURAL
135b98
+    DESC 'Abstraction of an IP protocol. Maps a protocol number
135b98
+          to one or more names. The distinguished value of the cn
135b98
+          attribute denotes the protocol canonical name'
135b98
+    MUST ( cn $ ipProtocolNumber )
135b98
+    MAY description )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.5 NAME 'oncRpc' SUP top STRUCTURAL
135b98
+    DESC 'Abstraction of an Open Network Computing (ONC)
135b98
+         [RFC1057] Remote Procedure Call (RPC) binding.
135b98
+         This class maps an ONC RPC number to a name.
135b98
+         The distinguished value of the cn attribute denotes
135b98
+         the RPC service canonical name'
135b98
+    MUST ( cn $ oncRpcNumber )
135b98
+    MAY description )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.6 NAME 'ipHost' SUP top AUXILIARY
135b98
+    DESC 'Abstraction of a host, an IP device. The distinguished
135b98
+          value of the cn attribute denotes the hosts canonical
135b98
+       name. Device SHOULD be used as a structural class'
135b98
+    MUST ( cn $ ipHostNumber )
135b98
+    MAY ( userPassword $ l $ description $
135b98
+          manager ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.7 NAME 'ipNetwork' SUP top STRUCTURAL
135b98
+    DESC 'Abstraction of a network. The distinguished value of
135b98
+          the cn attribute denotes the network canonical name'
135b98
+    MUST ipNetworkNumber
135b98
+    MAY ( cn $ ipNetmaskNumber $ l $ description $ manager ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.8 NAME 'nisNetgroup' SUP top STRUCTURAL
135b98
+    DESC 'Abstraction of a netgroup. May refer to other
135b98
+          netgroups'
135b98
+    MUST cn
135b98
+    MAY ( nisNetgroupTriple $ memberNisNetgroup $ description ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.9 NAME 'nisMap' SUP top STRUCTURAL
135b98
+    DESC 'A generic abstraction of a NIS map'
135b98
+    MUST nisMapName
135b98
+    MAY description )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.10 NAME 'nisObject' SUP top STRUCTURAL
135b98
+    DESC 'An entry in a NIS map'
135b98
+    MUST ( cn $ nisMapEntry $ nisMapName ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.11 NAME 'ieee802Device' SUP top AUXILIARY
135b98
+    DESC 'A device with a MAC address; device SHOULD be
135b98
+          used as a structural class'
135b98
+    MAY macAddress )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.12 NAME 'bootableDevice' SUP top AUXILIARY
135b98
+    DESC 'A device with boot parameters; device SHOULD be
135b98
+          used as a structural class'
135b98
+    MAY ( bootFile $ bootParameter ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.14 NAME 'nisKeyObject' SUP top AUXILIARY
135b98
+    DESC 'An object with a public and secret key'
135b98
+    MUST ( cn $ nisPublicKey $ nisSecretKey )
135b98
+    MAY ( uidNumber $ description ) )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.15 NAME 'nisDomainObject' SUP top AUXILIARY
135b98
+    DESC 'Associates a NIS domain with a naming context'
135b98
+    MUST nisDomain )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.16 NAME 'automountMap' SUP top STRUCTURAL
135b98
+    MUST ( automountMapName )
135b98
+    MAY description )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.17 NAME 'automount' SUP top STRUCTURAL
135b98
+    DESC 'Automount information'
135b98
+    MUST ( automountKey $ automountInformation )
135b98
+    MAY description )
135b98
+
135b98
+objectClass ( 1.3.6.1.1.1.2.18 NAME 'groupOfMembers' SUP top STRUCTURAL
135b98
+    DESC 'A group with members (DNs)'
135b98
+    MUST cn
135b98
+    MAY ( businessCategory $ seeAlso $ owner $ ou $ o $
135b98
+          description $ member ) )