~vcs-imports/samba/main

« back to all changes in this revision

Viewing changes to examples/LDAP/samba.schema

  • Committer: jerry
  • Date: 2006-07-14 21:48:39 UTC
  • Revision ID: vcs-imports@canonical.com-20060714214839-586d8c489a8fcead
gutting trunk to move to svn:externals

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
##
2
 
## schema file for OpenLDAP 2.x
3
 
## Schema for storing Samba user accounts and group maps in LDAP
4
 
## OIDs are owned by the Samba Team
5
 
##
6
 
## Prerequisite schemas - uid         (cosine.schema)
7
 
##                      - displayName (inetorgperson.schema)
8
 
##                      - gidNumber   (nis.schema)
9
 
##
10
 
## 1.3.6.1.4.1.7165.2.1.x - attributetypes
11
 
## 1.3.6.1.4.1.7165.2.2.x - objectclasses
12
 
##
13
 
## Printer support
14
 
## 1.3.6.1.4.1.7165.2.3.1.x - attributetypes
15
 
## 1.3.6.1.4.1.7165.2.3.2.x - objectclasses
16
 
##
17
 
## ----- READ THIS WHEN ADDING A NEW ATTRIBUTE OR OBJECT CLASS ------
18
 
##
19
 
## Run the 'get_next_oid' bash script in this directory to find the 
20
 
## next available OID for attribute type and object classes.
21
 
##
22
 
##   $ ./get_next_oid
23
 
##   attributetype ( 1.3.6.1.4.1.7165.2.1.XX NAME ....
24
 
##   objectclass ( 1.3.6.1.4.1.7165.2.2.XX NAME ....
25
 
##
26
 
## Also ensure that new entries adhere to the declaration style
27
 
## used throughout this file
28
 
##
29
 
##    <attributetype|objectclass> ( 1.3.6.1.4.1.7165.2.XX.XX NAME ....
30
 
##                               ^ ^                        ^
31
 
##
32
 
## The spaces are required for the get_next_oid script (and for 
33
 
## readability).
34
 
##
35
 
## ------------------------------------------------------------------
36
 
 
37
 
# objectIdentifier SambaRoot 1.3.6.1.4.1.7165
38
 
# objectIdentifier Samba3 SambaRoot:2
39
 
# objectIdentifier Samba3Attrib Samba3:1
40
 
# objectIdentifier Samba3ObjectClass Samba3:2
41
 
 
42
 
########################################################################
43
 
##                            HISTORICAL                              ##
44
 
########################################################################
45
 
 
46
 
##
47
 
## Password hashes
48
 
##
49
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.1 NAME 'lmPassword'
50
 
#       DESC 'LanManager Passwd'
51
 
#       EQUALITY caseIgnoreIA5Match
52
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE )
53
 
 
54
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.2 NAME 'ntPassword'
55
 
#       DESC 'NT Passwd'
56
 
#       EQUALITY caseIgnoreIA5Match
57
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE )
58
 
 
59
 
##
60
 
## Account flags in string format ([UWDX     ])
61
 
##
62
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.4 NAME 'acctFlags'
63
 
#       DESC 'Account Flags'
64
 
#       EQUALITY caseIgnoreIA5Match
65
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} SINGLE-VALUE )
66
 
 
67
 
##
68
 
## Password timestamps & policies
69
 
##
70
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.3 NAME 'pwdLastSet'
71
 
#       DESC 'NT pwdLastSet'
72
 
#       EQUALITY integerMatch
73
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
74
 
 
75
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.5 NAME 'logonTime'
76
 
#       DESC 'NT logonTime'
77
 
#       EQUALITY integerMatch
78
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
79
 
 
80
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.6 NAME 'logoffTime'
81
 
#       DESC 'NT logoffTime'
82
 
#       EQUALITY integerMatch
83
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
84
 
 
85
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.7 NAME 'kickoffTime'
86
 
#       DESC 'NT kickoffTime'
87
 
#       EQUALITY integerMatch
88
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
89
 
 
90
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.8 NAME 'pwdCanChange'
91
 
#       DESC 'NT pwdCanChange'
92
 
#       EQUALITY integerMatch
93
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
94
 
 
95
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.9 NAME 'pwdMustChange'
96
 
#       DESC 'NT pwdMustChange'
97
 
#       EQUALITY integerMatch
98
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
99
 
 
100
 
##
101
 
## string settings
102
 
##
103
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.10 NAME 'homeDrive'
104
 
#       DESC 'NT homeDrive'
105
 
#       EQUALITY caseIgnoreIA5Match
106
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4} SINGLE-VALUE )
107
 
 
108
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.11 NAME 'scriptPath'
109
 
#       DESC 'NT scriptPath'
110
 
#       EQUALITY caseIgnoreIA5Match
111
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255} SINGLE-VALUE )
112
 
 
113
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.12 NAME 'profilePath'
114
 
#       DESC 'NT profilePath'
115
 
#       EQUALITY caseIgnoreIA5Match
116
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255} SINGLE-VALUE )
117
 
 
118
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.13 NAME 'userWorkstations'
119
 
#       DESC 'userWorkstations'
120
 
#       EQUALITY caseIgnoreIA5Match
121
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255} SINGLE-VALUE )
122
 
 
123
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.17 NAME 'smbHome'
124
 
#       DESC 'smbHome'
125
 
#       EQUALITY caseIgnoreIA5Match
126
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
127
 
 
128
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.18 NAME 'domain'
129
 
#       DESC 'Windows NT domain to which the user belongs'
130
 
#       EQUALITY caseIgnoreIA5Match
131
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
132
 
 
133
 
##
134
 
## user and group RID
135
 
##
136
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.14 NAME 'rid'
137
 
#       DESC 'NT rid'
138
 
#       EQUALITY integerMatch
139
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
140
 
 
141
 
#attributetype ( 1.3.6.1.4.1.7165.2.1.15 NAME 'primaryGroupID'
142
 
#       DESC 'NT Group RID'
143
 
#       EQUALITY integerMatch
144
 
#       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
145
 
 
146
 
##
147
 
## The smbPasswordEntry objectclass has been depreciated in favor of the
148
 
## sambaAccount objectclass
149
 
##
150
 
#objectclass ( 1.3.6.1.4.1.7165.2.2.1 NAME 'smbPasswordEntry' SUP top AUXILIARY
151
 
#        DESC 'Samba smbpasswd entry'
152
 
#        MUST ( uid $ uidNumber )
153
 
#        MAY  ( lmPassword $ ntPassword $ pwdLastSet $ acctFlags ))
154
 
 
155
 
#objectclass ( 1.3.6.1.4.1.7165.2.2.2 NAME 'sambaAccount' SUP top STRUCTURAL
156
 
#       DESC 'Samba Account'
157
 
#       MUST ( uid $ rid )
158
 
#       MAY  ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $
159
 
#               logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $
160
 
#               displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $
161
 
#               description $ userWorkstations $ primaryGroupID $ domain ))
162
 
 
163
 
#objectclass ( 1.3.6.1.4.1.7165.2.2.3 NAME 'sambaAccount' SUP top AUXILIARY
164
 
#       DESC 'Samba Auxiliary Account'
165
 
#       MUST ( uid $ rid )
166
 
#       MAY  ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $
167
 
#              logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $
168
 
#              displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $
169
 
#              description $ userWorkstations $ primaryGroupID $ domain ))
170
 
 
171
 
########################################################################
172
 
##                        END OF HISTORICAL                           ##
173
 
########################################################################
174
 
 
175
 
#######################################################################
176
 
##                Attributes used by Samba 3.0 schema                ##
177
 
#######################################################################
178
 
 
179
 
##
180
 
## Password hashes
181
 
##
182
 
attributetype ( 1.3.6.1.4.1.7165.2.1.24 NAME 'sambaLMPassword'
183
 
        DESC 'LanManager Password'
184
 
        EQUALITY caseIgnoreIA5Match
185
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE )
186
 
 
187
 
attributetype ( 1.3.6.1.4.1.7165.2.1.25 NAME 'sambaNTPassword'
188
 
        DESC 'MD4 hash of the unicode password'
189
 
        EQUALITY caseIgnoreIA5Match
190
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE )
191
 
 
192
 
##
193
 
## Account flags in string format ([UWDX     ])
194
 
##
195
 
attributetype ( 1.3.6.1.4.1.7165.2.1.26 NAME 'sambaAcctFlags'
196
 
        DESC 'Account Flags'
197
 
        EQUALITY caseIgnoreIA5Match
198
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} SINGLE-VALUE )
199
 
 
200
 
##
201
 
## Password timestamps & policies
202
 
##
203
 
attributetype ( 1.3.6.1.4.1.7165.2.1.27 NAME 'sambaPwdLastSet'
204
 
        DESC 'Timestamp of the last password update'
205
 
        EQUALITY integerMatch
206
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
207
 
 
208
 
attributetype ( 1.3.6.1.4.1.7165.2.1.28 NAME 'sambaPwdCanChange'
209
 
        DESC 'Timestamp of when the user is allowed to update the password'
210
 
        EQUALITY integerMatch
211
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
212
 
 
213
 
attributetype ( 1.3.6.1.4.1.7165.2.1.29 NAME 'sambaPwdMustChange'
214
 
        DESC 'Timestamp of when the password will expire'
215
 
        EQUALITY integerMatch
216
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
217
 
 
218
 
attributetype ( 1.3.6.1.4.1.7165.2.1.30 NAME 'sambaLogonTime'
219
 
        DESC 'Timestamp of last logon'
220
 
        EQUALITY integerMatch
221
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
222
 
 
223
 
attributetype ( 1.3.6.1.4.1.7165.2.1.31 NAME 'sambaLogoffTime'
224
 
        DESC 'Timestamp of last logoff'
225
 
        EQUALITY integerMatch
226
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
227
 
 
228
 
attributetype ( 1.3.6.1.4.1.7165.2.1.32 NAME 'sambaKickoffTime'
229
 
        DESC 'Timestamp of when the user will be logged off automatically'
230
 
        EQUALITY integerMatch
231
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
232
 
 
233
 
attributetype ( 1.3.6.1.4.1.7165.2.1.48 NAME 'sambaBadPasswordCount'
234
 
        DESC 'Bad password attempt count'
235
 
        EQUALITY integerMatch
236
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
237
 
 
238
 
attributetype ( 1.3.6.1.4.1.7165.2.1.49 NAME 'sambaBadPasswordTime'
239
 
        DESC 'Time of the last bad password attempt'
240
 
        EQUALITY integerMatch
241
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
242
 
 
243
 
attributetype ( 1.3.6.1.4.1.7165.2.1.55 NAME 'sambaLogonHours'
244
 
        DESC 'Logon Hours'
245
 
        EQUALITY caseIgnoreIA5Match
246
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{42} SINGLE-VALUE )
247
 
 
248
 
##
249
 
## string settings
250
 
##
251
 
attributetype ( 1.3.6.1.4.1.7165.2.1.33 NAME 'sambaHomeDrive'
252
 
        DESC 'Driver letter of home directory mapping'
253
 
        EQUALITY caseIgnoreIA5Match
254
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4} SINGLE-VALUE )
255
 
 
256
 
attributetype ( 1.3.6.1.4.1.7165.2.1.34 NAME 'sambaLogonScript'
257
 
        DESC 'Logon script path'
258
 
        EQUALITY caseIgnoreMatch
259
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} SINGLE-VALUE )
260
 
 
261
 
attributetype ( 1.3.6.1.4.1.7165.2.1.35 NAME 'sambaProfilePath'
262
 
        DESC 'Roaming profile path'
263
 
        EQUALITY caseIgnoreMatch
264
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} SINGLE-VALUE )
265
 
 
266
 
attributetype ( 1.3.6.1.4.1.7165.2.1.36 NAME 'sambaUserWorkstations'
267
 
        DESC 'List of user workstations the user is allowed to logon to'
268
 
        EQUALITY caseIgnoreMatch
269
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} SINGLE-VALUE )
270
 
 
271
 
attributetype ( 1.3.6.1.4.1.7165.2.1.37 NAME 'sambaHomePath'
272
 
        DESC 'Home directory UNC path'
273
 
        EQUALITY caseIgnoreMatch
274
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
275
 
 
276
 
attributetype ( 1.3.6.1.4.1.7165.2.1.38 NAME 'sambaDomainName'
277
 
        DESC 'Windows NT domain to which the user belongs'
278
 
        EQUALITY caseIgnoreMatch
279
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
280
 
 
281
 
attributetype ( 1.3.6.1.4.1.7165.2.1.47 NAME 'sambaMungedDial'
282
 
        DESC 'Base64 encoded user parameter string'
283
 
        EQUALITY caseExactMatch
284
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1050} )
285
 
 
286
 
attributetype ( 1.3.6.1.4.1.7165.2.1.54 NAME 'sambaPasswordHistory'
287
 
        DESC 'Concatenated MD4 hashes of the unicode passwords used on this account'
288
 
        EQUALITY caseIgnoreIA5Match
289
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} )
290
 
 
291
 
##
292
 
## SID, of any type
293
 
##
294
 
 
295
 
attributetype ( 1.3.6.1.4.1.7165.2.1.20 NAME 'sambaSID'
296
 
        DESC 'Security ID'
297
 
        EQUALITY caseIgnoreIA5Match
298
 
        SUBSTR caseExactIA5SubstringsMatch
299
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} SINGLE-VALUE )
300
 
 
301
 
##
302
 
## Primary group SID, compatible with ntSid
303
 
##
304
 
 
305
 
attributetype ( 1.3.6.1.4.1.7165.2.1.23 NAME 'sambaPrimaryGroupSID'
306
 
        DESC 'Primary Group Security ID'
307
 
        EQUALITY caseIgnoreIA5Match
308
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} SINGLE-VALUE )
309
 
 
310
 
attributetype ( 1.3.6.1.4.1.7165.2.1.51 NAME 'sambaSIDList'
311
 
        DESC 'Security ID List'
312
 
        EQUALITY caseIgnoreIA5Match
313
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} )
314
 
 
315
 
##
316
 
## group mapping attributes
317
 
##
318
 
attributetype ( 1.3.6.1.4.1.7165.2.1.19 NAME 'sambaGroupType'
319
 
        DESC 'NT Group Type'
320
 
        EQUALITY integerMatch
321
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
322
 
 
323
 
##
324
 
## Store info on the domain
325
 
##
326
 
 
327
 
attributetype ( 1.3.6.1.4.1.7165.2.1.21 NAME 'sambaNextUserRid'
328
 
        DESC 'Next NT rid to give our for users'
329
 
        EQUALITY integerMatch
330
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
331
 
 
332
 
attributetype ( 1.3.6.1.4.1.7165.2.1.22 NAME 'sambaNextGroupRid'
333
 
        DESC 'Next NT rid to give out for groups'
334
 
        EQUALITY integerMatch
335
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
336
 
 
337
 
attributetype ( 1.3.6.1.4.1.7165.2.1.39 NAME 'sambaNextRid'
338
 
        DESC 'Next NT rid to give out for anything'
339
 
        EQUALITY integerMatch
340
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
341
 
 
342
 
attributetype ( 1.3.6.1.4.1.7165.2.1.40 NAME 'sambaAlgorithmicRidBase'
343
 
        DESC 'Base at which the samba RID generation algorithm should operate'
344
 
        EQUALITY integerMatch
345
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
346
 
 
347
 
attributetype ( 1.3.6.1.4.1.7165.2.1.41 NAME 'sambaShareName'
348
 
        DESC 'Share Name'
349
 
        EQUALITY caseIgnoreMatch
350
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
351
 
 
352
 
attributetype ( 1.3.6.1.4.1.7165.2.1.42 NAME 'sambaOptionName'
353
 
        DESC 'Option Name'
354
 
        EQUALITY caseIgnoreMatch
355
 
        SUBSTR caseIgnoreSubstringsMatch
356
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
357
 
 
358
 
attributetype ( 1.3.6.1.4.1.7165.2.1.43 NAME 'sambaBoolOption'
359
 
        DESC 'A boolean option'
360
 
        EQUALITY booleanMatch
361
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
362
 
 
363
 
attributetype ( 1.3.6.1.4.1.7165.2.1.44 NAME 'sambaIntegerOption'
364
 
        DESC 'An integer option'
365
 
        EQUALITY integerMatch
366
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
367
 
 
368
 
attributetype ( 1.3.6.1.4.1.7165.2.1.45 NAME 'sambaStringOption'
369
 
        DESC 'A string option'
370
 
        EQUALITY caseExactIA5Match
371
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
372
 
 
373
 
attributetype ( 1.3.6.1.4.1.7165.2.1.46 NAME 'sambaStringListOption'
374
 
        DESC 'A string list option'
375
 
        EQUALITY caseIgnoreMatch
376
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
377
 
 
378
 
 
379
 
##attributetype ( 1.3.6.1.4.1.7165.2.1.50 NAME 'sambaPrivName' 
380
 
##      SUP name )
381
 
 
382
 
##attributetype ( 1.3.6.1.4.1.7165.2.1.52 NAME 'sambaPrivilegeList'
383
 
##      DESC 'Privileges List'
384
 
##      EQUALITY caseIgnoreIA5Match
385
 
##      SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} )
386
 
 
387
 
attributetype ( 1.3.6.1.4.1.7165.2.1.53 NAME 'sambaTrustFlags'
388
 
        DESC 'Trust Password Flags'
389
 
        EQUALITY caseIgnoreIA5Match
390
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
391
 
 
392
 
# "min password length"
393
 
attributetype ( 1.3.6.1.4.1.7165.2.1.58 NAME 'sambaMinPwdLength'
394
 
        DESC 'Minimal password length (default: 5)'
395
 
        EQUALITY integerMatch
396
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
397
 
 
398
 
# "password history"
399
 
attributetype ( 1.3.6.1.4.1.7165.2.1.59 NAME 'sambaPwdHistoryLength'
400
 
        DESC 'Length of Password History Entries (default: 0 => off)'
401
 
        EQUALITY integerMatch
402
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
403
 
 
404
 
# "user must logon to change password"
405
 
attributetype ( 1.3.6.1.4.1.7165.2.1.60 NAME 'sambaLogonToChgPwd'
406
 
        DESC 'Force Users to logon for password change (default: 0 => off, 2 => on)'
407
 
        EQUALITY integerMatch
408
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
409
 
 
410
 
# "maximum password age"
411
 
attributetype ( 1.3.6.1.4.1.7165.2.1.61 NAME 'sambaMaxPwdAge'
412
 
        DESC 'Maximum password age, in seconds (default: -1 => never expire passwords)'
413
 
        EQUALITY integerMatch
414
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
415
 
 
416
 
# "minimum password age"
417
 
attributetype ( 1.3.6.1.4.1.7165.2.1.62 NAME 'sambaMinPwdAge'
418
 
        DESC 'Minimum password age, in seconds (default: 0 => allow immediate password change)'
419
 
        EQUALITY integerMatch
420
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
421
 
 
422
 
# "lockout duration"
423
 
attributetype ( 1.3.6.1.4.1.7165.2.1.63 NAME 'sambaLockoutDuration'
424
 
        DESC 'Lockout duration in minutes (default: 30, -1 => forever)'
425
 
        EQUALITY integerMatch
426
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
427
 
 
428
 
# "reset count minutes"
429
 
attributetype ( 1.3.6.1.4.1.7165.2.1.64 NAME 'sambaLockoutObservationWindow'
430
 
        DESC 'Reset time after lockout in minutes (default: 30)'
431
 
        EQUALITY integerMatch
432
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
433
 
 
434
 
# "bad lockout attempt"
435
 
attributetype ( 1.3.6.1.4.1.7165.2.1.65 NAME 'sambaLockoutThreshold'
436
 
        DESC 'Lockout users after bad logon attempts (default: 0 => off)'
437
 
        EQUALITY integerMatch
438
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
439
 
 
440
 
# "disconnect time"
441
 
attributetype ( 1.3.6.1.4.1.7165.2.1.66 NAME 'sambaForceLogoff'
442
 
        DESC 'Disconnect Users outside logon hours (default: -1 => off, 0 => on)'
443
 
        EQUALITY integerMatch
444
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
445
 
 
446
 
# "refuse machine password change"
447
 
attributetype ( 1.3.6.1.4.1.7165.2.1.67 NAME 'sambaRefuseMachinePwdChange'
448
 
        DESC 'Allow Machine Password changes (default: 0 => off)'
449
 
        EQUALITY integerMatch
450
 
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
451
 
 
452
 
 
453
 
 
454
 
 
455
 
#######################################################################
456
 
##              objectClasses used by Samba 3.0 schema               ##
457
 
#######################################################################
458
 
 
459
 
## The X.500 data model (and therefore LDAPv3) says that each entry can
460
 
## only have one structural objectclass.  OpenLDAP 2.0 does not enforce
461
 
## this currently but will in v2.1
462
 
 
463
 
##
464
 
## added new objectclass (and OID) for 3.0 to help us deal with backwards
465
 
## compatibility with 2.2 installations (e.g. ldapsam_compat)  --jerry
466
 
##
467
 
objectclass ( 1.3.6.1.4.1.7165.2.2.6 NAME 'sambaSamAccount' SUP top AUXILIARY
468
 
        DESC 'Samba 3.0 Auxilary SAM Account'
469
 
        MUST ( uid $ sambaSID )
470
 
        MAY  ( cn $ sambaLMPassword $ sambaNTPassword $ sambaPwdLastSet $
471
 
               sambaLogonTime $ sambaLogoffTime $ sambaKickoffTime $
472
 
               sambaPwdCanChange $ sambaPwdMustChange $ sambaAcctFlags $
473
 
               displayName $ sambaHomePath $ sambaHomeDrive $ sambaLogonScript $
474
 
               sambaProfilePath $ description $ sambaUserWorkstations $
475
 
               sambaPrimaryGroupSID $ sambaDomainName $ sambaMungedDial $
476
 
               sambaBadPasswordCount $ sambaBadPasswordTime $
477
 
               sambaPasswordHistory $ sambaLogonHours))
478
 
 
479
 
##
480
 
## Group mapping info
481
 
##
482
 
objectclass ( 1.3.6.1.4.1.7165.2.2.4 NAME 'sambaGroupMapping' SUP top AUXILIARY
483
 
        DESC 'Samba Group Mapping'
484
 
        MUST ( gidNumber $ sambaSID $ sambaGroupType )
485
 
        MAY  ( displayName $ description $ sambaSIDList ))
486
 
 
487
 
##
488
 
## Trust password for trust relationships (any kind)
489
 
##
490
 
objectclass ( 1.3.6.1.4.1.7165.2.2.14 NAME 'sambaTrustPassword' SUP top STRUCTURAL
491
 
        DESC 'Samba Trust Password'
492
 
        MUST ( sambaDomainName $ sambaNTPassword $ sambaTrustFlags )
493
 
        MAY ( sambaSID $ sambaPwdLastSet ))
494
 
 
495
 
##
496
 
## Whole-of-domain info
497
 
##
498
 
objectclass ( 1.3.6.1.4.1.7165.2.2.5 NAME 'sambaDomain' SUP top STRUCTURAL
499
 
        DESC 'Samba Domain Information'
500
 
        MUST ( sambaDomainName $ 
501
 
               sambaSID ) 
502
 
        MAY ( sambaNextRid $ sambaNextGroupRid $ sambaNextUserRid $
503
 
              sambaAlgorithmicRidBase $ 
504
 
              sambaMinPwdLength $ sambaPwdHistoryLength $ sambaLogonToChgPwd $
505
 
              sambaMaxPwdAge $ sambaMinPwdAge $
506
 
              sambaLockoutDuration $ sambaLockoutObservationWindow $ sambaLockoutThreshold $
507
 
              sambaForceLogoff $ sambaRefuseMachinePwdChange ))
508
 
 
509
 
##
510
 
## used for idmap_ldap module
511
 
##
512
 
objectclass ( 1.3.6.1.4.1.7165.2.2.7 NAME 'sambaUnixIdPool' SUP top AUXILIARY
513
 
        DESC 'Pool for allocating UNIX uids/gids'
514
 
        MUST ( uidNumber $ gidNumber ) )
515
 
 
516
 
 
517
 
objectclass ( 1.3.6.1.4.1.7165.2.2.8 NAME 'sambaIdmapEntry' SUP top AUXILIARY
518
 
        DESC 'Mapping from a SID to an ID'
519
 
        MUST ( sambaSID )
520
 
        MAY ( uidNumber $ gidNumber ) )
521
 
 
522
 
objectclass ( 1.3.6.1.4.1.7165.2.2.9 NAME 'sambaSidEntry' SUP top STRUCTURAL
523
 
        DESC 'Structural Class for a SID'
524
 
        MUST ( sambaSID ) )
525
 
 
526
 
objectclass ( 1.3.6.1.4.1.7165.2.2.10 NAME 'sambaConfig' SUP top AUXILIARY
527
 
        DESC 'Samba Configuration Section'
528
 
        MAY ( description ) )
529
 
 
530
 
objectclass ( 1.3.6.1.4.1.7165.2.2.11 NAME 'sambaShare' SUP top STRUCTURAL
531
 
        DESC 'Samba Share Section'
532
 
        MUST ( sambaShareName )
533
 
        MAY ( description ) )
534
 
 
535
 
objectclass ( 1.3.6.1.4.1.7165.2.2.12 NAME 'sambaConfigOption' SUP top STRUCTURAL
536
 
        DESC 'Samba Configuration Option'
537
 
        MUST ( sambaOptionName )
538
 
        MAY ( sambaBoolOption $ sambaIntegerOption $ sambaStringOption $ 
539
 
              sambaStringListoption $ description ) )
540
 
 
541
 
 
542
 
## retired during privilege rewrite
543
 
##objectclass ( 1.3.6.1.4.1.7165.2.2.13 NAME 'sambaPrivilege' SUP top AUXILIARY
544
 
##      DESC 'Samba Privilege'
545
 
##      MUST ( sambaSID )
546
 
##      MAY ( sambaPrivilegeList ) )