rubynas 0.1.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/.gitignore +23 -0
  2. data/.gitmodules +3 -0
  3. data/.rspec +2 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +196 -0
  7. data/Guardfile +8 -0
  8. data/LICENSE.txt +7 -0
  9. data/Procfile +2 -0
  10. data/README.md +151 -0
  11. data/Rakefile +14 -0
  12. data/Vagrantfile +99 -0
  13. data/bin/rubynas +63 -0
  14. data/config.ru +5 -0
  15. data/doc/README_FOR_APP +2 -0
  16. data/doc/macosx_shares.png +0 -0
  17. data/doc/shares_overview.png +0 -0
  18. data/lib/rubynas.rb +35 -0
  19. data/lib/rubynas/apis/group_api.rb +51 -0
  20. data/lib/rubynas/apis/system_information_api.rb +13 -0
  21. data/lib/rubynas/apis/user_api.rb +85 -0
  22. data/lib/rubynas/apis/volume_api.rb +50 -0
  23. data/lib/rubynas/config.rb +63 -0
  24. data/lib/rubynas/db/migrate/20130302164415_devise_create_users.rb +46 -0
  25. data/lib/rubynas/db/migrate/20130322143040_create_volumes.rb +10 -0
  26. data/lib/rubynas/db/migrate/20130331102556_create_shared_folders.rb +10 -0
  27. data/lib/rubynas/db/migrate/20130331103034_create_shared_folder_services.rb +11 -0
  28. data/lib/rubynas/installers/base_installer.rb +70 -0
  29. data/lib/rubynas/installers/debian_installer.rb +199 -0
  30. data/lib/rubynas/installers/ubuntu_installer.rb +2 -0
  31. data/lib/rubynas/installers/ubuntu_precise_installer.rb +2 -0
  32. data/lib/rubynas/models/.gitkeep +0 -0
  33. data/lib/rubynas/models/ldap_group.rb +21 -0
  34. data/lib/rubynas/models/ldap_org_unit.rb +13 -0
  35. data/lib/rubynas/models/ldap_user.rb +31 -0
  36. data/lib/rubynas/models/shared_folder.rb +32 -0
  37. data/lib/rubynas/models/shared_folder_service.rb +15 -0
  38. data/lib/rubynas/models/volume.rb +16 -0
  39. data/lib/rubynas/services/afp_share_service.rb +9 -0
  40. data/lib/rubynas/services/service.rb +4 -0
  41. data/lib/rubynas/services/share_service.rb +3 -0
  42. data/lib/rubynas/version.rb +3 -0
  43. data/rubynas.gemspec +69 -0
  44. data/rubynas.ini +24 -0
  45. data/sandbox/ldap/base.ldif +50 -0
  46. data/sandbox/ldap/data/.gitkeep +0 -0
  47. data/sandbox/ldap/data/dc=rubynas,dc=com.ldif +14 -0
  48. data/sandbox/ldap/local.schema +6 -0
  49. data/sandbox/ldap/schema/README +80 -0
  50. data/sandbox/ldap/schema/apple.schema +1727 -0
  51. data/sandbox/ldap/schema/apple_auxillary.schema +20 -0
  52. data/sandbox/ldap/schema/collective.ldif +48 -0
  53. data/sandbox/ldap/schema/collective.schema +190 -0
  54. data/sandbox/ldap/schema/corba.ldif +42 -0
  55. data/sandbox/ldap/schema/corba.schema +239 -0
  56. data/sandbox/ldap/schema/core.ldif +591 -0
  57. data/sandbox/ldap/schema/core.schema +610 -0
  58. data/sandbox/ldap/schema/cosine.ldif +200 -0
  59. data/sandbox/ldap/schema/cosine.schema +2571 -0
  60. data/sandbox/ldap/schema/duaconf.ldif +83 -0
  61. data/sandbox/ldap/schema/duaconf.schema +261 -0
  62. data/sandbox/ldap/schema/dyngroup.ldif +71 -0
  63. data/sandbox/ldap/schema/dyngroup.schema +91 -0
  64. data/sandbox/ldap/schema/fmserver.schema +60 -0
  65. data/sandbox/ldap/schema/inetorgperson.ldif +69 -0
  66. data/sandbox/ldap/schema/inetorgperson.schema +155 -0
  67. data/sandbox/ldap/schema/java.ldif +59 -0
  68. data/sandbox/ldap/schema/java.schema +403 -0
  69. data/sandbox/ldap/schema/krb5-kdc.schema +134 -0
  70. data/sandbox/ldap/schema/microsoft.ext.schema +5383 -0
  71. data/sandbox/ldap/schema/microsoft.schema +4835 -0
  72. data/sandbox/ldap/schema/microsoft.std.schema +480 -0
  73. data/sandbox/ldap/schema/misc.ldif +45 -0
  74. data/sandbox/ldap/schema/misc.schema +75 -0
  75. data/sandbox/ldap/schema/netinfo.schema +240 -0
  76. data/sandbox/ldap/schema/nis.ldif +120 -0
  77. data/sandbox/ldap/schema/nis.schema +241 -0
  78. data/sandbox/ldap/schema/openldap.ldif +88 -0
  79. data/sandbox/ldap/schema/openldap.schema +54 -0
  80. data/sandbox/ldap/schema/pmi.ldif +123 -0
  81. data/sandbox/ldap/schema/pmi.schema +464 -0
  82. data/sandbox/ldap/schema/ppolicy.ldif +75 -0
  83. data/sandbox/ldap/schema/ppolicy.schema +531 -0
  84. data/sandbox/ldap/schema/samba.schema +179 -0
  85. data/sandbox/ldap/slapd.conf +99 -0
  86. data/spec/apis/group_api_spec.rb +97 -0
  87. data/spec/apis/system_information_api_spec.rb +27 -0
  88. data/spec/apis/user_api_spec.rb +113 -0
  89. data/spec/apis/volume_api_spec.rb +98 -0
  90. data/spec/factories/ldap_group.rb +16 -0
  91. data/spec/factories/ldap_users.rb +24 -0
  92. data/spec/factories/shared_folder_services.rb +9 -0
  93. data/spec/factories/shared_folders.rb +15 -0
  94. data/spec/factories/users.rb +8 -0
  95. data/spec/factories/volumes.rb +10 -0
  96. data/spec/installer/base_installer_spec.rb +35 -0
  97. data/spec/installer/debian_installer_spec.rb +86 -0
  98. data/spec/models/ldap_group_spec.rb +21 -0
  99. data/spec/models/ldap_org_unit_spec.rb +19 -0
  100. data/spec/models/ldap_user_spec.rb +19 -0
  101. data/spec/models/shared_folder_service_spec.rb +25 -0
  102. data/spec/models/shared_folder_spec.rb +27 -0
  103. data/spec/models/volume_spec.rb +5 -0
  104. data/spec/services/afp_share_service_spec.rb +5 -0
  105. data/spec/services/service_spec.rb +5 -0
  106. data/spec/services/share_service_spec.rb +5 -0
  107. data/spec/spec_helper.rb +30 -0
  108. data/spec/support/db_cleaner.rb +16 -0
  109. data/spec/support/factory_girl.rb +7 -0
  110. data/spec/support/logger.rb +1 -0
  111. data/spec/support/rack-test.rb +6 -0
  112. metadata +633 -0
@@ -0,0 +1,610 @@
1
+ # OpenLDAP Core schema
2
+ # $OpenLDAP$
3
+ ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
+ ##
5
+ ## Copyright 1998-2011 The OpenLDAP Foundation.
6
+ ## All rights reserved.
7
+ ##
8
+ ## Redistribution and use in source and binary forms, with or without
9
+ ## modification, are permitted only as authorized by the OpenLDAP
10
+ ## Public License.
11
+ ##
12
+ ## A copy of this license is available in the file LICENSE in the
13
+ ## top-level directory of the distribution or, alternatively, at
14
+ ## <http://www.OpenLDAP.org/license.html>.
15
+ #
16
+ ## Portions Copyright (C) The Internet Society (1997-2006).
17
+ ## All Rights Reserved.
18
+ ##
19
+ ## This document and translations of it may be copied and furnished to
20
+ ## others, and derivative works that comment on or otherwise explain it
21
+ ## or assist in its implementation may be prepared, copied, published
22
+ ## and distributed, in whole or in part, without restriction of any
23
+ ## kind, provided that the above copyright notice and this paragraph are
24
+ ## included on all such copies and derivative works. However, this
25
+ ## document itself may not be modified in any way, such as by removing
26
+ ## the copyright notice or references to the Internet Society or other
27
+ ## Internet organizations, except as needed for the purpose of
28
+ ## developing Internet standards in which case the procedures for
29
+ ## copyrights defined in the Internet Standards process must be
30
+ ## followed, or as required to translate it into languages other than
31
+ ## English.
32
+ ##
33
+ ## The limited permissions granted above are perpetual and will not be
34
+ ## revoked by the Internet Society or its successors or assigns.
35
+ ##
36
+ ## This document and the information contained herein is provided on an
37
+ ## "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
38
+ ## TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
39
+ ## BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
40
+ ## HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
41
+ ## MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
42
+
43
+ #
44
+ #
45
+ # Includes LDAPv3 schema items from:
46
+ # RFC 2252/2256 (LDAPv3)
47
+ #
48
+ # Select standard track schema items:
49
+ # RFC 1274 (uid/dc)
50
+ # RFC 2079 (URI)
51
+ # RFC 2247 (dc/dcObject)
52
+ # RFC 2587 (PKI)
53
+ # RFC 2589 (Dynamic Directory Services)
54
+ # RFC 4524 (associatedDomain)
55
+ #
56
+ # Select informational schema items:
57
+ # RFC 2377 (uidObject)
58
+
59
+ #
60
+ # Standard attribute types from RFC 2256
61
+ #
62
+
63
+ # system schema
64
+ #attributetype ( 2.5.4.0 NAME 'objectClass'
65
+ # DESC 'RFC2256: object classes of the entity'
66
+ # EQUALITY objectIdentifierMatch
67
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
68
+
69
+ # system schema
70
+ #attributetype ( 2.5.4.1 NAME ( 'aliasedObjectName' 'aliasedEntryName' )
71
+ # DESC 'RFC2256: name of aliased object'
72
+ # EQUALITY distinguishedNameMatch
73
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )
74
+
75
+ attributetype ( 2.5.4.2 NAME 'knowledgeInformation'
76
+ DESC 'RFC2256: knowledge information'
77
+ EQUALITY caseIgnoreMatch
78
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
79
+
80
+ # system schema
81
+ #attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' )
82
+ # DESC 'RFC2256: common name(s) for which the entity is known by'
83
+ # SUP name )
84
+
85
+ attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' )
86
+ DESC 'RFC2256: last (family) name(s) for which the entity is known by'
87
+ SUP name )
88
+
89
+ attributetype ( 2.5.4.5 NAME 'serialNumber'
90
+ DESC 'RFC2256: serial number of the entity'
91
+ EQUALITY caseIgnoreMatch
92
+ SUBSTR caseIgnoreSubstringsMatch
93
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} )
94
+
95
+ # RFC 4519 definition ('countryName' in X.500 and RFC2256)
96
+ #attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
97
+ # DESC 'RFC4519: two-letter ISO-3166 country code'
98
+ # SUP name
99
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.11
100
+ # SINGLE-VALUE )
101
+
102
+ attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
103
+ DESC 'RFC2256: ISO-3166 country 2-letter code'
104
+ SUP name SINGLE-VALUE )
105
+
106
+ attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' )
107
+ DESC 'RFC2256: locality which this object resides in'
108
+ SUP name )
109
+
110
+ attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' )
111
+ DESC 'RFC2256: state or province which this object resides in'
112
+ SUP name )
113
+
114
+ attributetype ( 2.5.4.9 NAME ( 'street' 'streetAddress' )
115
+ DESC 'RFC2256: street address of this object'
116
+ EQUALITY caseIgnoreMatch
117
+ SUBSTR caseIgnoreSubstringsMatch
118
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
119
+
120
+ attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' )
121
+ DESC 'RFC2256: organization this object belongs to'
122
+ SUP name )
123
+
124
+ attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' )
125
+ DESC 'RFC2256: organizational unit this object belongs to'
126
+ SUP name )
127
+
128
+ attributetype ( 2.5.4.12 NAME 'title'
129
+ DESC 'RFC2256: title associated with the entity'
130
+ SUP name )
131
+
132
+ # system schema
133
+ #attributetype ( 2.5.4.13 NAME 'description'
134
+ # DESC 'RFC2256: descriptive information'
135
+ # EQUALITY caseIgnoreMatch
136
+ # SUBSTR caseIgnoreSubstringsMatch
137
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
138
+
139
+ # Deprecated by enhancedSearchGuide
140
+ attributetype ( 2.5.4.14 NAME 'searchGuide'
141
+ DESC 'RFC2256: search guide, deprecated by enhancedSearchGuide'
142
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 )
143
+
144
+ attributetype ( 2.5.4.15 NAME 'businessCategory'
145
+ DESC 'RFC2256: business category'
146
+ EQUALITY caseIgnoreMatch
147
+ SUBSTR caseIgnoreSubstringsMatch
148
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
149
+
150
+ attributetype ( 2.5.4.16 NAME 'postalAddress'
151
+ DESC 'RFC2256: postal address'
152
+ EQUALITY caseIgnoreListMatch
153
+ SUBSTR caseIgnoreListSubstringsMatch
154
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
155
+
156
+ attributetype ( 2.5.4.17 NAME 'postalCode'
157
+ DESC 'RFC2256: postal code'
158
+ EQUALITY caseIgnoreMatch
159
+ SUBSTR caseIgnoreSubstringsMatch
160
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
161
+
162
+ attributetype ( 2.5.4.18 NAME 'postOfficeBox'
163
+ DESC 'RFC2256: Post Office Box'
164
+ EQUALITY caseIgnoreMatch
165
+ SUBSTR caseIgnoreSubstringsMatch
166
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )
167
+
168
+ attributetype ( 2.5.4.19 NAME 'physicalDeliveryOfficeName'
169
+ DESC 'RFC2256: Physical Delivery Office Name'
170
+ EQUALITY caseIgnoreMatch
171
+ SUBSTR caseIgnoreSubstringsMatch
172
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )
173
+
174
+ attributetype ( 2.5.4.20 NAME 'telephoneNumber'
175
+ DESC 'RFC2256: Telephone Number'
176
+ EQUALITY telephoneNumberMatch
177
+ SUBSTR telephoneNumberSubstringsMatch
178
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} )
179
+
180
+ attributetype ( 2.5.4.21 NAME 'telexNumber'
181
+ DESC 'RFC2256: Telex Number'
182
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.52 )
183
+
184
+ attributetype ( 2.5.4.22 NAME 'teletexTerminalIdentifier'
185
+ DESC 'RFC2256: Teletex Terminal Identifier'
186
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.51 )
187
+
188
+ attributetype ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' )
189
+ DESC 'RFC2256: Facsimile (Fax) Telephone Number'
190
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )
191
+
192
+ attributetype ( 2.5.4.24 NAME 'x121Address'
193
+ DESC 'RFC2256: X.121 Address'
194
+ EQUALITY numericStringMatch
195
+ SUBSTR numericStringSubstringsMatch
196
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{15} )
197
+
198
+ attributetype ( 2.5.4.25 NAME 'internationaliSDNNumber'
199
+ DESC 'RFC2256: international ISDN number'
200
+ EQUALITY numericStringMatch
201
+ SUBSTR numericStringSubstringsMatch
202
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} )
203
+
204
+ attributetype ( 2.5.4.26 NAME 'registeredAddress'
205
+ DESC 'RFC2256: registered postal address'
206
+ SUP postalAddress
207
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )
208
+
209
+ attributetype ( 2.5.4.27 NAME 'destinationIndicator'
210
+ DESC 'RFC2256: destination indicator'
211
+ EQUALITY caseIgnoreMatch
212
+ SUBSTR caseIgnoreSubstringsMatch
213
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{128} )
214
+
215
+ attributetype ( 2.5.4.28 NAME 'preferredDeliveryMethod'
216
+ DESC 'RFC2256: preferred delivery method'
217
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.14
218
+ SINGLE-VALUE )
219
+
220
+ attributetype ( 2.5.4.29 NAME 'presentationAddress'
221
+ DESC 'RFC2256: presentation address'
222
+ EQUALITY presentationAddressMatch
223
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.43
224
+ SINGLE-VALUE )
225
+
226
+ attributetype ( 2.5.4.30 NAME 'supportedApplicationContext'
227
+ DESC 'RFC2256: supported application context'
228
+ EQUALITY objectIdentifierMatch
229
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
230
+
231
+ attributetype ( 2.5.4.31 NAME 'member'
232
+ DESC 'RFC2256: member of a group'
233
+ SUP distinguishedName )
234
+
235
+ attributetype ( 2.5.4.32 NAME 'owner'
236
+ DESC 'RFC2256: owner (of the object)'
237
+ SUP distinguishedName )
238
+
239
+ attributetype ( 2.5.4.33 NAME 'roleOccupant'
240
+ DESC 'RFC2256: occupant of role'
241
+ SUP distinguishedName )
242
+
243
+ # system schema
244
+ #attributetype ( 2.5.4.34 NAME 'seeAlso'
245
+ # DESC 'RFC2256: DN of related object'
246
+ # SUP distinguishedName )
247
+
248
+ # system schema
249
+ #attributetype ( 2.5.4.35 NAME 'userPassword'
250
+ # DESC 'RFC2256/2307: password of user'
251
+ # EQUALITY octetStringMatch
252
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )
253
+
254
+ # Must be transferred using ;binary
255
+ # with certificateExactMatch rule (per X.509)
256
+ attributetype ( 2.5.4.36 NAME 'userCertificate'
257
+ DESC 'RFC2256: X.509 user certificate, use ;binary'
258
+ EQUALITY certificateExactMatch
259
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
260
+
261
+ # Must be transferred using ;binary
262
+ # with certificateExactMatch rule (per X.509)
263
+ attributetype ( 2.5.4.37 NAME 'cACertificate'
264
+ DESC 'RFC2256: X.509 CA certificate, use ;binary'
265
+ EQUALITY certificateExactMatch
266
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
267
+
268
+ # Must be transferred using ;binary
269
+ attributetype ( 2.5.4.38 NAME 'authorityRevocationList'
270
+ DESC 'RFC2256: X.509 authority revocation list, use ;binary'
271
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
272
+
273
+ # Must be transferred using ;binary
274
+ attributetype ( 2.5.4.39 NAME 'certificateRevocationList'
275
+ DESC 'RFC2256: X.509 certificate revocation list, use ;binary'
276
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
277
+
278
+ # Must be stored and requested in the binary form
279
+ attributetype ( 2.5.4.40 NAME 'crossCertificatePair'
280
+ DESC 'RFC2256: X.509 cross certificate pair, use ;binary'
281
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.10 )
282
+
283
+ # system schema
284
+ #attributetype ( 2.5.4.41 NAME 'name'
285
+ # EQUALITY caseIgnoreMatch
286
+ # SUBSTR caseIgnoreSubstringsMatch
287
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
288
+
289
+ attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' )
290
+ DESC 'RFC2256: first name(s) for which the entity is known by'
291
+ SUP name )
292
+
293
+ attributetype ( 2.5.4.43 NAME 'initials'
294
+ DESC 'RFC2256: initials of some or all of names, but not the surname(s).'
295
+ SUP name )
296
+
297
+ attributetype ( 2.5.4.44 NAME 'generationQualifier'
298
+ DESC 'RFC2256: name qualifier indicating a generation'
299
+ SUP name )
300
+
301
+ attributetype ( 2.5.4.45 NAME 'x500UniqueIdentifier'
302
+ DESC 'RFC2256: X.500 unique identifier'
303
+ EQUALITY bitStringMatch
304
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.6 )
305
+
306
+ attributetype ( 2.5.4.46 NAME 'dnQualifier'
307
+ DESC 'RFC2256: DN qualifier'
308
+ EQUALITY caseIgnoreMatch
309
+ ORDERING caseIgnoreOrderingMatch
310
+ SUBSTR caseIgnoreSubstringsMatch
311
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )
312
+
313
+ attributetype ( 2.5.4.47 NAME 'enhancedSearchGuide'
314
+ DESC 'RFC2256: enhanced search guide'
315
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.21 )
316
+
317
+ attributetype ( 2.5.4.48 NAME 'protocolInformation'
318
+ DESC 'RFC2256: protocol information'
319
+ EQUALITY protocolInformationMatch
320
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.42 )
321
+
322
+ # system schema
323
+ #attributetype ( 2.5.4.49 NAME 'distinguishedName'
324
+ # EQUALITY distinguishedNameMatch
325
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
326
+
327
+ attributetype ( 2.5.4.50 NAME 'uniqueMember'
328
+ DESC 'RFC2256: unique member of a group'
329
+ EQUALITY uniqueMemberMatch
330
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.34 )
331
+
332
+ attributetype ( 2.5.4.51 NAME 'houseIdentifier'
333
+ DESC 'RFC2256: house identifier'
334
+ EQUALITY caseIgnoreMatch
335
+ SUBSTR caseIgnoreSubstringsMatch
336
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
337
+
338
+ # Must be transferred using ;binary
339
+ attributetype ( 2.5.4.52 NAME 'supportedAlgorithms'
340
+ DESC 'RFC2256: supported algorithms'
341
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.49 )
342
+
343
+ # Must be transferred using ;binary
344
+ attributetype ( 2.5.4.53 NAME 'deltaRevocationList'
345
+ DESC 'RFC2256: delta revocation list; use ;binary'
346
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )
347
+
348
+ attributetype ( 2.5.4.54 NAME 'dmdName'
349
+ DESC 'RFC2256: name of DMD'
350
+ SUP name )
351
+
352
+ attributetype ( 2.5.4.65 NAME 'pseudonym'
353
+ DESC 'X.520(4th): pseudonym for the object'
354
+ SUP name )
355
+
356
+ # Standard object classes from RFC2256
357
+
358
+ # system schema
359
+ #objectclass ( 2.5.6.0 NAME 'top'
360
+ # DESC 'RFC2256: top of the superclass chain'
361
+ # ABSTRACT
362
+ # MUST objectClass )
363
+
364
+ # system schema
365
+ #objectclass ( 2.5.6.1 NAME 'alias'
366
+ # DESC 'RFC2256: an alias'
367
+ # SUP top STRUCTURAL
368
+ # MUST aliasedObjectName )
369
+
370
+ objectclass ( 2.5.6.2 NAME 'country'
371
+ DESC 'RFC2256: a country'
372
+ SUP top STRUCTURAL
373
+ MUST c
374
+ MAY ( searchGuide $ description ) )
375
+
376
+ objectclass ( 2.5.6.3 NAME 'locality'
377
+ DESC 'RFC2256: a locality'
378
+ SUP top STRUCTURAL
379
+ MAY ( street $ seeAlso $ searchGuide $ st $ l $ description ) )
380
+
381
+ objectclass ( 2.5.6.4 NAME 'organization'
382
+ DESC 'RFC2256: an organization'
383
+ SUP top STRUCTURAL
384
+ MUST o
385
+ MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
386
+ x121Address $ registeredAddress $ destinationIndicator $
387
+ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
388
+ telephoneNumber $ internationaliSDNNumber $
389
+ facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
390
+ postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )
391
+
392
+ objectclass ( 2.5.6.5 NAME 'organizationalUnit'
393
+ DESC 'RFC2256: an organizational unit'
394
+ SUP top STRUCTURAL
395
+ MUST ou
396
+ MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
397
+ x121Address $ registeredAddress $ destinationIndicator $
398
+ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
399
+ telephoneNumber $ internationaliSDNNumber $
400
+ facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
401
+ postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )
402
+
403
+ objectclass ( 2.5.6.6 NAME 'person'
404
+ DESC 'RFC2256: a person'
405
+ SUP top STRUCTURAL
406
+ MUST ( sn $ cn )
407
+ MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
408
+
409
+ objectclass ( 2.5.6.7 NAME 'organizationalPerson'
410
+ DESC 'RFC2256: an organizational person'
411
+ SUP person STRUCTURAL
412
+ MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $
413
+ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
414
+ telephoneNumber $ internationaliSDNNumber $
415
+ facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
416
+ postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) )
417
+
418
+ objectclass ( 2.5.6.8 NAME 'organizationalRole'
419
+ DESC 'RFC2256: an organizational role'
420
+ SUP top STRUCTURAL
421
+ MUST cn
422
+ MAY ( x121Address $ registeredAddress $ destinationIndicator $
423
+ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
424
+ telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
425
+ seeAlso $ roleOccupant $ preferredDeliveryMethod $ street $
426
+ postOfficeBox $ postalCode $ postalAddress $
427
+ physicalDeliveryOfficeName $ ou $ st $ l $ description ) )
428
+
429
+ objectclass ( 2.5.6.9 NAME 'groupOfNames'
430
+ DESC 'RFC2256: a group of names (DNs)'
431
+ SUP top STRUCTURAL
432
+ MUST ( member $ cn )
433
+ MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )
434
+
435
+ objectclass ( 2.5.6.10 NAME 'residentialPerson'
436
+ DESC 'RFC2256: an residential person'
437
+ SUP person STRUCTURAL
438
+ MUST l
439
+ MAY ( businessCategory $ x121Address $ registeredAddress $
440
+ destinationIndicator $ preferredDeliveryMethod $ telexNumber $
441
+ teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $
442
+ facsimileTelephoneNumber $ preferredDeliveryMethod $ street $
443
+ postOfficeBox $ postalCode $ postalAddress $
444
+ physicalDeliveryOfficeName $ st $ l ) )
445
+
446
+ objectclass ( 2.5.6.11 NAME 'applicationProcess'
447
+ DESC 'RFC2256: an application process'
448
+ SUP top STRUCTURAL
449
+ MUST cn
450
+ MAY ( seeAlso $ ou $ l $ description ) )
451
+
452
+ objectclass ( 2.5.6.12 NAME 'applicationEntity'
453
+ DESC 'RFC2256: an application entity'
454
+ SUP top STRUCTURAL
455
+ MUST ( presentationAddress $ cn )
456
+ MAY ( supportedApplicationContext $ seeAlso $ ou $ o $ l $
457
+ description ) )
458
+
459
+ objectclass ( 2.5.6.13 NAME 'dSA'
460
+ DESC 'RFC2256: a directory system agent (a server)'
461
+ SUP applicationEntity STRUCTURAL
462
+ MAY knowledgeInformation )
463
+
464
+ objectclass ( 2.5.6.14 NAME 'device'
465
+ DESC 'RFC2256: a device'
466
+ SUP top STRUCTURAL
467
+ MUST cn
468
+ MAY ( serialNumber $ seeAlso $ owner $ ou $ o $ l $ description ) )
469
+
470
+ objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser'
471
+ DESC 'RFC2256: a strong authentication user'
472
+ SUP top AUXILIARY
473
+ MUST userCertificate )
474
+
475
+ objectclass ( 2.5.6.16 NAME 'certificationAuthority'
476
+ DESC 'RFC2256: a certificate authority'
477
+ SUP top AUXILIARY
478
+ MUST ( authorityRevocationList $ certificateRevocationList $
479
+ cACertificate ) MAY crossCertificatePair )
480
+
481
+ objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames'
482
+ DESC 'RFC2256: a group of unique names (DN and Unique Identifier)'
483
+ SUP top STRUCTURAL
484
+ MUST ( uniqueMember $ cn )
485
+ MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )
486
+
487
+ objectclass ( 2.5.6.18 NAME 'userSecurityInformation'
488
+ DESC 'RFC2256: a user security information'
489
+ SUP top AUXILIARY
490
+ MAY ( supportedAlgorithms ) )
491
+
492
+ objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2'
493
+ SUP certificationAuthority
494
+ AUXILIARY MAY ( deltaRevocationList ) )
495
+
496
+ objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint'
497
+ SUP top STRUCTURAL
498
+ MUST ( cn )
499
+ MAY ( certificateRevocationList $ authorityRevocationList $
500
+ deltaRevocationList ) )
501
+
502
+ objectclass ( 2.5.6.20 NAME 'dmd'
503
+ SUP top STRUCTURAL
504
+ MUST ( dmdName )
505
+ MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
506
+ x121Address $ registeredAddress $ destinationIndicator $
507
+ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
508
+ telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
509
+ street $ postOfficeBox $ postalCode $ postalAddress $
510
+ physicalDeliveryOfficeName $ st $ l $ description ) )
511
+
512
+ #
513
+ # Object Classes from RFC 2587
514
+ #
515
+ objectclass ( 2.5.6.21 NAME 'pkiUser'
516
+ DESC 'RFC2587: a PKI user'
517
+ SUP top AUXILIARY
518
+ MAY userCertificate )
519
+
520
+ objectclass ( 2.5.6.22 NAME 'pkiCA'
521
+ DESC 'RFC2587: PKI certificate authority'
522
+ SUP top AUXILIARY
523
+ MAY ( authorityRevocationList $ certificateRevocationList $
524
+ cACertificate $ crossCertificatePair ) )
525
+
526
+ objectclass ( 2.5.6.23 NAME 'deltaCRL'
527
+ DESC 'RFC2587: PKI user'
528
+ SUP top AUXILIARY
529
+ MAY deltaRevocationList )
530
+
531
+ #
532
+ # Standard Track URI label schema from RFC 2079
533
+ # system schema
534
+ #attributetype ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
535
+ # DESC 'RFC2079: Uniform Resource Identifier with optional label'
536
+ # EQUALITY caseExactMatch
537
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
538
+
539
+ objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject'
540
+ DESC 'RFC2079: object that contains the URI attribute type'
541
+ SUP top AUXILIARY
542
+ MAY ( labeledURI ) )
543
+
544
+ #
545
+ # Derived from RFC 1274, but with new "short names"
546
+ #
547
+ #attributetype ( 0.9.2342.19200300.100.1.1
548
+ # NAME ( 'uid' 'userid' )
549
+ # DESC 'RFC1274: user identifier'
550
+ # EQUALITY caseIgnoreMatch
551
+ # SUBSTR caseIgnoreSubstringsMatch
552
+ # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
553
+
554
+ attributetype ( 0.9.2342.19200300.100.1.3
555
+ NAME ( 'mail' 'rfc822Mailbox' )
556
+ DESC 'RFC1274: RFC822 Mailbox'
557
+ EQUALITY caseIgnoreIA5Match
558
+ SUBSTR caseIgnoreIA5SubstringsMatch
559
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
560
+
561
+ objectclass ( 0.9.2342.19200300.100.4.19 NAME 'simpleSecurityObject'
562
+ DESC 'RFC1274: simple security object'
563
+ SUP top AUXILIARY
564
+ MUST userPassword )
565
+
566
+ # RFC 1274 + RFC 2247
567
+ attributetype ( 0.9.2342.19200300.100.1.25
568
+ NAME ( 'dc' 'domainComponent' )
569
+ DESC 'RFC1274/2247: domain component'
570
+ EQUALITY caseIgnoreIA5Match
571
+ SUBSTR caseIgnoreIA5SubstringsMatch
572
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
573
+
574
+ # RFC 2247
575
+ objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject'
576
+ DESC 'RFC2247: domain component object'
577
+ SUP top AUXILIARY MUST dc )
578
+
579
+ # RFC 2377
580
+ objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject'
581
+ DESC 'RFC2377: uid object'
582
+ SUP top AUXILIARY MUST uid )
583
+
584
+ # RFC 4524
585
+ # The 'associatedDomain' attribute specifies DNS [RFC1034][RFC2181]
586
+ # host names [RFC1123] that are associated with an object. That is,
587
+ # values of this attribute should conform to the following ABNF:
588
+ #
589
+ # domain = root / label *( DOT label )
590
+ # root = SPACE
591
+ # label = LETDIG [ *61( LETDIG / HYPHEN ) LETDIG ]
592
+ # LETDIG = %x30-39 / %x41-5A / %x61-7A ; "0" - "9" / "A"-"Z" / "a"-"z"
593
+ # SPACE = %x20 ; space (" ")
594
+ # HYPHEN = %x2D ; hyphen ("-")
595
+ # DOT = %x2E ; period (".")
596
+ attributetype ( 0.9.2342.19200300.100.1.37
597
+ NAME 'associatedDomain'
598
+ DESC 'RFC1274: domain associated with object'
599
+ EQUALITY caseIgnoreIA5Match
600
+ SUBSTR caseIgnoreIA5SubstringsMatch
601
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
602
+
603
+ # RFC 2459 -- deprecated in favor of 'mail' (in cosine.schema)
604
+ attributetype ( 1.2.840.113549.1.9.1
605
+ NAME ( 'email' 'emailAddress' 'pkcs9email' )
606
+ DESC 'RFC3280: legacy attribute for email addresses in DNs'
607
+ EQUALITY caseIgnoreIA5Match
608
+ SUBSTR caseIgnoreIA5SubstringsMatch
609
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
610
+