2 # Definitions from RFC2307
4 # Note: The definitions in RFC2307 are given in syntaxes closely related
5 # to those in RFC2252, however, some liberties are taken that are not
6 # supported by RFC2252. This file has been written following RFC2252
9 # OID Base is iso(1) org(3) dod(6) internet(1) directory(1) nisSchema(1).
10 # i.e. nisSchema in RFC2307 is 1.3.6.1.1.1
12 # Syntaxes are under 1.3.6.1.1.1.0 (two new syntaxes are defined)
13 # Attribute types are under 1.3.6.1.1.1.1
14 # Object classes are under 1.3.6.1.1.1.2
16 # Attribute Type Definitions
18 attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
19 DESC 'An integer uniquely identifying a user in an administrative domain'
21 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
23 attributetype ( 1.3.6.1.1.1.1.1 NAME 'gidNumber'
24 DESC 'An integer uniquely identifying a group in an administrative domain'
26 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
28 attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos'
29 DESC 'The GECOS field; the common name'
30 EQUALITY caseIgnoreIA5Match
31 SUBSTR caseIgnoreIA5SubstringsMatch
32 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
34 attributetype ( 1.3.6.1.1.1.1.3 NAME 'homeDirectory'
35 DESC 'The absolute path to the home directory'
36 EQUALITY caseExactIA5Match
37 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
39 attributetype ( 1.3.6.1.1.1.1.4 NAME 'loginShell'
40 DESC 'The path to the login shell'
41 EQUALITY caseExactIA5Match
42 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
44 attributetype ( 1.3.6.1.1.1.1.5 NAME 'shadowLastChange'
46 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
48 attributetype ( 1.3.6.1.1.1.1.6 NAME 'shadowMin'
50 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
52 attributetype ( 1.3.6.1.1.1.1.7 NAME 'shadowMax'
54 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
56 attributetype ( 1.3.6.1.1.1.1.8 NAME 'shadowWarning'
58 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
60 attributetype ( 1.3.6.1.1.1.1.9 NAME 'shadowInactive'
62 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
64 attributetype ( 1.3.6.1.1.1.1.10 NAME 'shadowExpire'
66 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
68 attributetype ( 1.3.6.1.1.1.1.11 NAME 'shadowFlag'
70 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
72 attributetype ( 1.3.6.1.1.1.1.12 NAME 'memberUid'
73 EQUALITY caseExactIA5Match
74 SUBSTR caseExactIA5SubstringsMatch
75 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
77 attributetype ( 1.3.6.1.1.1.1.13 NAME 'memberNisNetgroup'
78 EQUALITY caseExactIA5Match
79 SUBSTR caseExactIA5SubstringsMatch
80 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
82 attributetype ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
83 DESC 'Netgroup triple'
84 SYNTAX 1.3.6.1.1.1.0.0 )
86 attributetype ( 1.3.6.1.1.1.1.15 NAME 'ipServicePort'
88 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
90 attributetype ( 1.3.6.1.1.1.1.16 NAME 'ipServiceProtocol'
93 attributetype ( 1.3.6.1.1.1.1.17 NAME 'ipProtocolNumber'
95 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
97 attributetype ( 1.3.6.1.1.1.1.18 NAME 'oncRpcNumber'
99 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
101 attributetype ( 1.3.6.1.1.1.1.19 NAME 'ipHostNumber'
102 DESC 'IP address as a dotted decimal, eg. 192.168.1.1, omitting leading zeros'
103 EQUALITY caseIgnoreIA5Match
104 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
106 attributetype ( 1.3.6.1.1.1.1.20 NAME 'ipNetworkNumber'
107 DESC 'IP network as a dotted decimal, eg. 192.168, omitting leading zeros'
108 EQUALITY caseIgnoreIA5Match
109 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} SINGLE-VALUE )
111 attributetype ( 1.3.6.1.1.1.1.21 NAME 'ipNetmaskNumber'
112 DESC 'IP netmask as a dotted decimal, eg. 255.255.255.0, omitting leading zeros'
113 EQUALITY caseIgnoreIA5Match
114 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} SINGLE-VALUE )
116 attributetype ( 1.3.6.1.1.1.1.22 NAME 'macAddress'
117 DESC 'MAC address in maximal, colon separated hex notation, eg. 00:00:92:90:ee:e2'
118 EQUALITY caseIgnoreIA5Match
119 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
121 attributetype ( 1.3.6.1.1.1.1.23 NAME 'bootParameter'
122 DESC 'rpc.bootparamd parameter'
123 SYNTAX 1.3.6.1.1.1.0.1 )
125 attributetype ( 1.3.6.1.1.1.1.24 NAME 'bootFile'
126 DESC 'Boot image name'
127 EQUALITY caseExactIA5Match
128 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
130 attributetype ( 1.3.6.1.1.1.1.26 NAME 'nisMapName'
133 attributetype ( 1.3.6.1.1.1.1.27 NAME 'nisMapEntry'
134 EQUALITY caseExactIA5Match
135 SUBSTR caseExactIA5SubstringsMatch
136 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{1024} SINGLE-VALUE )
138 # Object Class Definitions
140 objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY
141 DESC 'Abstraction of an account with POSIX attributes'
142 MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
143 MAY ( userPassword $ loginShell $ gecos $ description ) )
145 objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY
146 DESC 'Additional attributes for shadow passwords'
148 MAY ( userPassword $ shadowLastChange $ shadowMin $
149 shadowMax $ shadowWarning $ shadowInactive $
150 shadowExpire $ shadowFlag $ description ) )
152 objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top STRUCTURAL
153 DESC 'Abstraction of a group of accounts'
154 MUST ( cn $ gidNumber )
155 MAY ( userPassword $ memberUid $ description ) )
157 objectclass ( 1.3.6.1.1.1.2.3 NAME 'ipService' SUP top STRUCTURAL
158 DESC 'Abstraction an Internet Protocol service.
159 Maps an IP port and protocol (such as tcp or udp)
160 to one or more names; the distinguished value of
161 the cn attribute denotes the service"s canonical
163 MUST ( cn $ ipServicePort $ ipServiceProtocol )
164 MAY ( description ) )
166 objectclass ( 1.3.6.1.1.1.2.4 NAME 'ipProtocol' SUP top STRUCTURAL
167 DESC 'Abstraction of an IP protocol. Maps a protocol number
168 to one or more names. The distinguished value of the cn
169 attribute denotes the protocol"s canonical name'
170 MUST ( cn $ ipProtocolNumber $ description )
173 objectclass ( 1.3.6.1.1.1.2.5 NAME 'oncRpc' SUP top STRUCTURAL
174 DESC 'Abstraction of an Open Network Computing (ONC)
175 [RFC1057] Remote Procedure Call (RPC) binding.
176 This class maps an ONC RPC number to a name.
177 The distinguished value of the cn attribute denotes
178 the RPC service"s canonical name'
179 MUST ( cn $ oncRpcNumber $ description )
182 objectclass ( 1.3.6.1.1.1.2.6 NAME 'ipHost' SUP top AUXILIARY
183 DESC 'Abstraction of a host, an IP device. The distinguished
184 value of the cn attribute denotes the host"s canonical
185 name. Device SHOULD be used as a structural class'
186 MUST ( cn $ ipHostNumber )
187 MAY ( l $ description $ manager ) )
189 objectclass ( 1.3.6.1.1.1.2.7 NAME 'ipNetwork' SUP top STRUCTURAL
190 DESC 'Abstraction of a network. The distinguished value of
191 the cn attribute denotes the network"s canonical name'
192 MUST ( cn $ ipNetworkNumber )
193 MAY ( ipNetmaskNumber $ l $ description $ manager ) )
195 objectclass ( 1.3.6.1.1.1.2.8 NAME 'nisNetgroup' SUP top STRUCTURAL
196 DESC 'Abstraction of a netgroup. May refer to other netgroups'
198 MAY ( nisNetgroupTriple $ memberNisNetgroup $ description ) )
200 objectclass ( 1.3.6.1.1.1.2.9 NAME 'nisMap' SUP top STRUCTURAL
201 DESC 'A generic abstraction of a NIS map'
205 objectclass ( 1.3.6.1.1.1.2.10 NAME 'nisObject' SUP top STRUCTURAL
206 DESC 'An entry in a NIS map'
207 MUST ( cn $ nisMapEntry $ nisMapName )
210 objectclass ( 1.3.6.1.1.1.2.11 NAME 'ieee802Device' SUP top AUXILIARY
211 DESC 'A device with a MAC address; device SHOULD be
212 used as a structural class'
215 objectclass ( 1.3.6.1.1.1.2.12 NAME 'bootableDevice' SUP top AUXILIARY
216 DESC 'A device with boot parameters; device SHOULD be
217 used as a structural class'
218 MAY ( bootFile $ bootParameter ) )