]> git.sur5r.net Git - openldap/blob - servers/slapd/schema/nis.oc.conf
Per ITS#419, don't require SLAPD_RLOOKUPS when HAVE_TCPD
[openldap] / servers / slapd / schema / nis.oc.conf
1 # $OpenLDAP$
2 #
3 # By:           Juan C. Gomez / gomez@engr.sgi.com
4 # Date:         May/1999
5 # Source:       RFC-2307
6 # ---------------------------------------------------------
7 #
8 # Written by Juan C. Gomez and placed into the public domain.
9 # This file is not subject to any license of SGI.
10 #
11 # ---------------------------------------------------------
12 #
13 # Object Classes for using LDAP as a backend for Network
14 # Information Services (NIS).
15 # (As Proposed in RFC-2307)
16
17
18
19
20
21 # ----------------------FORMAL DESCRIPTION--------------------
22 # OID   nisSchema.2.0 
23 # NAME  'posixAccount' SUP top AUXILIARY
24 # DESC  'Abstraction of an account with POSIX attributes'
25 # MUST  ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
26 # MAY   ( userPassword $ loginShell $ gecos $ description ) )
27 #
28 #
29 # OID   nisSchema.2.1
30 # NAME  'shadowAccount' SUP top AUXILIARY
31 # DESC 'Additional attributes for shadow passwords'
32 # MUST uid
33 # MAY ( userPassword $ shadowLastChange $ shadowMin
34 #       shadowMax $ shadowWarning $ shadowInactive $
35 #       shadowExpire $ shadowFlag $ description )
36 #
37 #
38 # OID   nisSchema.2.2 NAME 'posixGroup' SUP top STRUCTURAL
39 # DESC  'Abstraction of a group of accounts'
40 # MUST  ( cn $ gidNumber )
41 # MAY ( userPassword $ memberUid $ description ) )
42 #
43 #
44 # OID           nisSchema.2.3 NAME 'ipService' SUP top STRUCTURAL
45 # DESC          'Abstraction an Internet Protocol service.
46 #               Maps an IP port and protocol (such as tcp or udp)
47 #               to one or more names; the distinguished value of
48 #               the cn attribute denotes the service's canonical
49 #               name'
50 # MUST          ( cn $ ipServicePort $ ipServiceProtocol )
51 # MAY           ( description )
52 #
53 #
54 # OID           nisSchema.2.4 NAME 'ipProtocol' SUP top STRUCTURAL
55 # DESC          'Abstraction of an IP protocol. Maps a protocol number
56 #               to one or more names. The distinguished value of the cn
57 #               attribute denotes the protocol's canonical name'
58 # MUST          ( cn $ ipProtocolNumber $ description )
59 # MAY           description 
60 #
61 #
62 # OID   nisSchema.2.5 NAME 'oncRpc' SUP top STRUCTURAL
63 # DESC  'Abstraction of an Open Network Computing (ONC)
64 #       [RFC1057] Remote Procedure Call (RPC) binding.
65 #       This class maps an ONC RPC number to a name.
66 #       The distinguished value of the cn attribute denotes
67 #        the RPC service's canonical name'
68 # MUST  ( cn $ oncRpcNumber $ description )
69 # MAY   description
70 #
71 #
72 # OID   nisSchema.2.6 NAME 'ipHost' SUP top AUXILIARY
73 # DESC  'Abstraction of a host, an IP device. The distinguished
74 #        value of the cn attribute denotes the host's canonical
75 #        name. Device SHOULD be used as a structural class'
76 # MUST  ( cn $ ipHostNumber )
77 # MAY   ( l $ description $ manager ) )
78 #
79 #
80 # OID   nisSchema.2.7 NAME 'ipNetwork' SUP top STRUCTURAL
81 # DESC  'Abstraction of a network. The distinguished value of
82 #       the cn attribute denotes the network's canonical name'
83 # MUST  ( cn $ ipNetworkNumber )
84 # MAY   ( ipNetmaskNumber $ l $ description $ manager ) )
85 #
86 #
87 # OID   nisSchema.2.8 NAME 'nisNetgroup' SUP top STRUCTURAL
88 # DESC  'Abstraction of a netgroup. May refer to other netgroups'
89 # MUST  cn
90 # MAY   ( nisNetgroupTriple $ memberNisNetgroup $ description )
91 #
92 #
93 # OID   nisSchema.2.09 NAME 'nisMap' SUP top STRUCTURAL
94 # DESC  'A generic abstraction of a NIS map'
95 # MUST  nisMapName
96 # MAY   description
97 #
98 #
99 # OID   nisSchema.2.10 NAME 'nisObject' SUP top STRUCTURAL
100 # DESC  'An entry in a NIS map'
101 # MUST  ( cn $ nisMapEntry $ nisMapName )
102 # MAY   description
103 #
104 #
105 # OID   nisSchema.2.11 NAME 'ieee802Device' SUP top AUXILIARY
106 # DESC  'A device with a MAC address; device SHOULD be
107 #       used as a structural class'
108 # MAY macAddress
109 #
110 #
111 # OID   nisSchema.2.12 NAME 'bootableDevice' SUP top AUXILIARY
112 # DESC  'A device with boot parameters; device SHOULD be
113 #       used as a structural class'
114 # MAY   ( bootFile $ bootParameter )
115 #
116 # ----------------------END FORMAL DESCRIPTION-------------
117
118
119
120
121 objectclass     posixAccount
122         requires
123                 objectClass,
124                 cn,
125                 uid,
126                 uidNumber,
127                 gidNumber,
128                 homeDirectory
129         allows
130                 userPassword,
131                 loginShell,
132                 gecos,
133                 description
134         
135 objectclass     shadowAccount
136         requires
137                 objectClass,
138                 uid
139         allows
140                 userPassword,
141                 shadowLastChange,
142                 shadowMin,
143                 shadowMax,
144                 shadowWarning,
145                 shadowInactive,
146                 shadowExpire,
147                 shadowFlag,
148                 description
149
150 objectclass     posixGroup
151         requires
152                 objectClass,
153                 cn,
154                 gidNumber
155         allows
156                 userPassword,
157                 memberUid,
158                 description
159
160 objectclass     ipService
161         requires
162                 objectClass,
163                 cn,
164                 ipServicePort,
165                 ipServiceProtocol
166         allows
167                 description
168
169 objectclass     ipProtocol
170         requires
171                 objectClass,
172                 cn,
173                 ipProtocolNumber,
174                 description
175         allows
176                 description
177
178 objectclass     oncRpc
179         requires
180                 objectClass,
181                 cn,
182                 oncRpcNumber,
183                 description
184         allows
185                 description
186
187 objectclass     ipHost
188         requires
189                 objectClass,
190                 cn,
191                 ipHostNumber
192         allows
193                 l,
194                 description,
195                 manager
196
197 objectclass     ipNetwork
198         requires
199                 objectClass,
200                 cn,
201                 ipNetworkNumber
202         allows
203                 ipNetmaskNumber,
204                 l,
205                 description,
206                 manager
207
208 objectclass     nisNetgroup
209         requires
210                 objectClass,
211                 cn
212         allows
213                 nisNetgroupTriple,
214                 memberNisNetgroup,
215                 description
216
217 objectclass     nisMap
218         requires
219                 objectClass,
220                 nisMapName
221         allows
222                 description
223
224 objectclass     nisObject
225         requires
226                 objectClass,
227                 cn,
228                 nisMapEntry,
229                 nisMapName
230         allows
231                 description
232
233 objectclass     ieee802Device
234         requires
235                 objectClass
236         allows
237                 macAddress
238
239 objectclass     bootableDevice
240         requires
241                 objectClass
242         allows
243                 bootFile,
244                 bootParameter