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

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