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

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