import from branch_1_1:
[freeradius.git] / doc / examples / openldap.schema
1 # This is a LDAPv3 schema for RADIUS attributes.
2 # Tested on OpenLDAP 2.0.7
3 # Posted by Javier Fernandez-Sanguino Pena <jfernandez@sgi.es>
4 # LDAP v3 version by Jochen Friedrich <jochen@scram.de>
5 # Updates by Adrian Pavlykevych <pam@polynet.lviv.ua>
6 ##############
7
8 attributetype
9    ( 1.3.6.1.4.1.3317.4.3.1.1
10       NAME 'radiusArapFeatures'
11       DESC ''
12       EQUALITY caseIgnoreIA5Match
13       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
14       SINGLE-VALUE
15    )
16
17 attributetype
18    ( 1.3.6.1.4.1.3317.4.3.1.2
19       NAME 'radiusArapSecurity'
20       DESC ''
21       EQUALITY caseIgnoreIA5Match
22       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
23       SINGLE-VALUE
24    )
25
26 attributetype
27    ( 1.3.6.1.4.1.3317.4.3.1.3
28       NAME 'radiusArapZoneAccess'
29       DESC ''
30       EQUALITY caseIgnoreIA5Match
31       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
32       SINGLE-VALUE
33    )
34
35 attributetype
36    ( 1.3.6.1.4.1.3317.4.3.1.44
37      NAME 'radiusAuthType'
38      DESC ''
39      EQUALITY caseIgnoreIA5Match
40      SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
41      SINGLE-VALUE
42    )
43
44 attributetype
45    ( 1.3.6.1.4.1.3317.4.3.1.4
46       NAME 'radiusCallbackId'
47       DESC ''
48       EQUALITY caseIgnoreIA5Match
49       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
50       SINGLE-VALUE
51    )
52
53 attributetype
54    ( 1.3.6.1.4.1.3317.4.3.1.5
55       NAME 'radiusCallbackNumber'
56       DESC ''
57       EQUALITY caseIgnoreIA5Match
58       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
59       SINGLE-VALUE
60    )
61
62 attributetype
63    ( 1.3.6.1.4.1.3317.4.3.1.6
64       NAME 'radiusCalledStationId'
65       DESC ''
66       EQUALITY caseIgnoreIA5Match
67       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
68       SINGLE-VALUE
69    )
70
71 attributetype
72    ( 1.3.6.1.4.1.3317.4.3.1.7
73       NAME 'radiusCallingStationId'
74       DESC ''
75       EQUALITY caseIgnoreIA5Match
76       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
77       SINGLE-VALUE
78    )
79
80 attributetype
81    ( 1.3.6.1.4.1.3317.4.3.1.8
82       NAME 'radiusClass'
83       DESC ''
84       EQUALITY caseIgnoreIA5Match
85       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
86    )
87
88 attributetype
89    ( 1.3.6.1.4.1.3317.4.3.1.45
90      NAME 'radiusClientIPAddress'
91      DESC ''
92      EQUALITY caseIgnoreIA5Match
93      SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
94      SINGLE-VALUE
95    )
96
97 attributetype
98    ( 1.3.6.1.4.1.3317.4.3.1.9
99       NAME 'radiusFilterId'
100       DESC ''
101       EQUALITY caseIgnoreIA5Match
102       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
103    )
104
105 attributetype
106    ( 1.3.6.1.4.1.3317.4.3.1.10
107       NAME 'radiusFramedAppleTalkLink'
108       DESC ''
109       EQUALITY caseIgnoreIA5Match
110       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
111       SINGLE-VALUE
112    )
113
114 attributetype
115    ( 1.3.6.1.4.1.3317.4.3.1.11
116       NAME 'radiusFramedAppleTalkNetwork'
117       DESC ''
118       EQUALITY caseIgnoreIA5Match
119       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
120    )
121
122 attributetype
123    ( 1.3.6.1.4.1.3317.4.3.1.12
124       NAME 'radiusFramedAppleTalkZone'
125       DESC ''
126       EQUALITY caseIgnoreIA5Match
127       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
128       SINGLE-VALUE
129    )
130
131 attributetype
132    ( 1.3.6.1.4.1.3317.4.3.1.13
133       NAME 'radiusFramedCompression'
134       DESC ''
135       EQUALITY caseIgnoreIA5Match
136       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
137    )
138
139 attributetype
140    ( 1.3.6.1.4.1.3317.4.3.1.14
141       NAME 'radiusFramedIPAddress'
142       DESC ''
143       EQUALITY caseIgnoreIA5Match
144       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
145       SINGLE-VALUE
146    )
147
148 attributetype
149    ( 1.3.6.1.4.1.3317.4.3.1.15
150       NAME 'radiusFramedIPNetmask'
151       DESC ''
152       EQUALITY caseIgnoreIA5Match
153       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
154       SINGLE-VALUE
155    )
156
157 attributetype
158    ( 1.3.6.1.4.1.3317.4.3.1.16
159       NAME 'radiusFramedIPXNetwork'
160       DESC ''
161       EQUALITY caseIgnoreIA5Match
162       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
163       SINGLE-VALUE
164    )
165
166 attributetype
167    ( 1.3.6.1.4.1.3317.4.3.1.17
168       NAME 'radiusFramedMTU'
169       DESC ''
170       EQUALITY caseIgnoreIA5Match
171       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
172       SINGLE-VALUE
173    )
174
175 attributetype
176    ( 1.3.6.1.4.1.3317.4.3.1.18
177       NAME 'radiusFramedProtocol'
178       DESC ''
179       EQUALITY caseIgnoreIA5Match
180       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
181       SINGLE-VALUE
182    )
183
184 attributetype
185    ( 1.3.6.1.4.1.3317.4.3.1.19
186       NAME 'radiusFramedRoute'
187       DESC ''
188       EQUALITY caseIgnoreIA5Match
189       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
190    )
191
192 attributetype
193    ( 1.3.6.1.4.1.3317.4.3.1.20
194       NAME 'radiusFramedRouting'
195       DESC ''
196       EQUALITY caseIgnoreIA5Match
197       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
198       SINGLE-VALUE
199    )
200
201 attributetype
202    ( 1.3.6.1.4.1.3317.4.3.1.46
203       NAME 'radiusGroupName'
204       DESC ''
205       EQUALITY caseIgnoreIA5Match
206       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
207    )
208
209 attributetype
210    ( 1.3.6.1.4.1.3317.4.3.1.47
211       NAME 'radiusHint'
212       DESC ''
213       EQUALITY caseIgnoreIA5Match
214       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
215       SINGLE-VALUE
216    )
217
218 attributetype
219    ( 1.3.6.1.4.1.3317.4.3.1.48
220       NAME 'radiusHuntgroupName'
221       DESC ''
222       EQUALITY caseIgnoreIA5Match
223       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
224    )
225
226 attributetype
227    ( 1.3.6.1.4.1.3317.4.3.1.21
228       NAME 'radiusIdleTimeout'
229       DESC ''
230       EQUALITY caseIgnoreIA5Match
231       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
232       SINGLE-VALUE
233    )
234
235 attributetype
236    ( 1.3.6.1.4.1.3317.4.3.1.22
237       NAME 'radiusLoginIPHost'
238       DESC ''
239       EQUALITY caseIgnoreIA5Match
240       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
241    )
242
243 attributetype
244    ( 1.3.6.1.4.1.3317.4.3.1.23
245       NAME 'radiusLoginLATGroup'
246       DESC ''
247       EQUALITY caseIgnoreIA5Match
248       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
249       SINGLE-VALUE
250    )
251
252 attributetype
253    ( 1.3.6.1.4.1.3317.4.3.1.24
254       NAME 'radiusLoginLATNode'
255       DESC ''
256       EQUALITY caseIgnoreIA5Match
257       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
258       SINGLE-VALUE
259    )
260
261 attributetype
262    ( 1.3.6.1.4.1.3317.4.3.1.25
263       NAME 'radiusLoginLATPort'
264       DESC ''
265       EQUALITY caseIgnoreIA5Match
266       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
267       SINGLE-VALUE
268    )
269
270 attributetype
271    ( 1.3.6.1.4.1.3317.4.3.1.26
272       NAME 'radiusLoginLATService'
273       DESC ''
274       EQUALITY caseIgnoreIA5Match
275       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
276       SINGLE-VALUE
277    )
278
279 attributetype
280    ( 1.3.6.1.4.1.3317.4.3.1.27
281       NAME 'radiusLoginService'
282       DESC ''
283       EQUALITY caseIgnoreIA5Match
284       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
285       SINGLE-VALUE
286    )
287
288 attributetype
289    ( 1.3.6.1.4.1.3317.4.3.1.28
290       NAME 'radiusLoginTCPPort'
291       DESC ''
292       EQUALITY caseIgnoreIA5Match
293       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
294       SINGLE-VALUE
295    )
296
297 attributetype
298    ( 1.3.6.1.4.1.3317.4.3.1.29
299       NAME 'radiusPasswordRetry'
300       DESC ''
301       EQUALITY caseIgnoreIA5Match
302       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
303       SINGLE-VALUE
304    )
305
306 attributetype
307    ( 1.3.6.1.4.1.3317.4.3.1.30
308       NAME 'radiusPortLimit'
309       DESC ''
310       EQUALITY caseIgnoreIA5Match
311       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
312       SINGLE-VALUE
313    )
314
315 attributetype
316    ( 1.3.6.1.4.1.3317.4.3.1.49
317       NAME 'radiusProfileDn'
318       DESC ''
319       EQUALITY distinguishedNameMatch
320       SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
321       SINGLE-VALUE
322    )
323
324 attributetype
325    ( 1.3.6.1.4.1.3317.4.3.1.31
326       NAME 'radiusPrompt'
327       DESC ''
328       EQUALITY caseIgnoreIA5Match
329       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
330       SINGLE-VALUE
331    )
332
333 attributetype
334    ( 1.3.6.1.4.1.3317.4.3.1.50
335       NAME 'radiusProxyToRealm'
336       DESC ''
337       EQUALITY caseIgnoreIA5Match
338       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
339       SINGLE-VALUE
340    )
341
342 attributetype
343    ( 1.3.6.1.4.1.3317.4.3.1.51
344       NAME 'radiusReplicateToRealm'
345       DESC ''
346       EQUALITY caseIgnoreIA5Match
347       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
348       SINGLE-VALUE
349    )
350
351 attributetype
352    ( 1.3.6.1.4.1.3317.4.3.1.52
353       NAME 'radiusRealm'
354       DESC ''
355       EQUALITY caseIgnoreIA5Match
356       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
357       SINGLE-VALUE
358    )
359
360 attributetype
361    ( 1.3.6.1.4.1.3317.4.3.1.32
362       NAME 'radiusServiceType'
363       DESC ''
364       EQUALITY caseIgnoreIA5Match
365       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
366       SINGLE-VALUE
367    )
368
369 attributetype
370    ( 1.3.6.1.4.1.3317.4.3.1.33
371       NAME 'radiusSessionTimeout'
372       DESC ''
373       EQUALITY caseIgnoreIA5Match
374       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
375       SINGLE-VALUE
376    )
377
378 attributetype
379    ( 1.3.6.1.4.1.3317.4.3.1.34
380       NAME 'radiusTerminationAction'
381       DESC ''
382       EQUALITY caseIgnoreIA5Match
383       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
384       SINGLE-VALUE
385    )
386
387 attributetype
388    ( 1.3.6.1.4.1.3317.4.3.1.35
389       NAME 'radiusTunnelAssignmentId'
390       DESC ''
391       EQUALITY caseIgnoreIA5Match
392       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
393    )
394
395 attributetype
396    ( 1.3.6.1.4.1.3317.4.3.1.36
397       NAME 'radiusTunnelMediumType'
398       DESC ''
399       EQUALITY caseIgnoreIA5Match
400       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
401    )
402
403 attributetype
404    ( 1.3.6.1.4.1.3317.4.3.1.37
405       NAME 'radiusTunnelPassword'
406       DESC ''
407       EQUALITY caseIgnoreIA5Match
408       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
409       SINGLE-VALUE
410    )
411
412 attributetype
413    ( 1.3.6.1.4.1.3317.4.3.1.38
414       NAME 'radiusTunnelPreference'
415       DESC ''
416       EQUALITY caseIgnoreIA5Match
417       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
418    )
419
420 attributetype
421    ( 1.3.6.1.4.1.3317.4.3.1.39
422       NAME 'radiusTunnelPrivateGroupId'
423       DESC ''
424       EQUALITY caseIgnoreIA5Match
425       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
426    )
427
428 attributetype
429    ( 1.3.6.1.4.1.3317.4.3.1.40
430       NAME 'radiusTunnelServerEndpoint'
431       DESC ''
432       EQUALITY caseIgnoreIA5Match
433       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
434    )
435
436 attributetype
437    ( 1.3.6.1.4.1.3317.4.3.1.41
438       NAME 'radiusTunnelType'
439       DESC ''
440       EQUALITY caseIgnoreIA5Match
441       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
442    )
443
444 attributetype
445    ( 1.3.6.1.4.1.3317.4.3.1.42
446       NAME 'radiusVSA'
447       DESC ''
448       EQUALITY caseIgnoreIA5Match
449       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
450    )
451
452 attributetype
453    ( 1.3.6.1.4.1.3317.4.3.1.43
454       NAME 'radiusTunnelClientEndpoint'
455       DESC ''
456       EQUALITY caseIgnoreIA5Match
457       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
458    )
459
460
461 #need to change asn1.id
462 attributetype
463    ( 1.3.6.1.4.1.3317.4.3.1.53
464       NAME 'radiusSimultaneousUse'
465       DESC ''
466       SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
467       SINGLE-VALUE
468    )
469
470 attributetype
471    ( 1.3.6.1.4.1.3317.4.3.1.54
472       NAME 'radiusLoginTime'
473       DESC ''
474       EQUALITY caseIgnoreIA5Match
475       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
476       SINGLE-VALUE
477    )
478
479 attributetype
480    ( 1.3.6.1.4.1.3317.4.3.1.55
481       NAME 'radiusUserCategory'
482       DESC ''
483       EQUALITY caseIgnoreIA5Match
484       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
485       SINGLE-VALUE
486    )
487
488 attributetype
489    ( 1.3.6.1.4.1.3317.4.3.1.56
490       NAME 'radiusStripUserName'
491       DESC ''
492       SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
493       SINGLE-VALUE
494    )
495
496 attributetype
497    ( 1.3.6.1.4.1.3317.4.3.1.57
498       NAME 'dialupAccess'
499       DESC ''
500       EQUALITY caseIgnoreIA5Match
501       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
502       SINGLE-VALUE
503    )
504
505 attributetype
506    ( 1.3.6.1.4.1.3317.4.3.1.58
507       NAME 'radiusExpiration'
508       DESC ''
509       EQUALITY caseIgnoreIA5Match
510       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
511       SINGLE-VALUE
512    )
513
514 attributetype
515    ( 1.3.6.1.4.1.3317.4.3.1.59
516       NAME 'radiusCheckItem'
517       DESC ''
518       EQUALITY caseIgnoreIA5Match
519       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
520    )
521
522 attributetype
523    ( 1.3.6.1.4.1.3317.4.3.1.60
524       NAME 'radiusReplyItem'
525       DESC ''
526       EQUALITY caseIgnoreIA5Match
527       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
528    )
529
530 attributetype
531    ( 1.3.6.1.4.1.3317.4.3.1.61
532       NAME 'radiusNASIpAddress'
533       DESC ''
534       EQUALITY caseIgnoreIA5Match
535       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
536       SINGLE-VALUE
537    )
538
539 attributetype
540    ( 1.3.6.1.4.1.3317.4.3.1.62
541       NAME 'radiusReplyMessage'
542       DESC ''
543       EQUALITY caseIgnoreIA5Match
544       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
545    )
546
547
548 objectclass
549    ( 1.3.6.1.4.1.3317.4.3.2.1
550       NAME 'radiusprofile'
551       SUP top AUXILIARY
552       DESC ''
553       MUST cn
554       MAY ( radiusArapFeatures $ radiusArapSecurity $ radiusArapZoneAccess $
555             radiusAuthType $ radiusCallbackId $ radiusCallbackNumber $
556             radiusCalledStationId $ radiusCallingStationId $ radiusClass $
557             radiusClientIPAddress $ radiusFilterId $ radiusFramedAppleTalkLink $
558             radiusFramedAppleTalkNetwork $ radiusFramedAppleTalkZone $
559             radiusFramedCompression $ radiusFramedIPAddress $
560             radiusFramedIPNetmask $ radiusFramedIPXNetwork $
561             radiusFramedMTU $ radiusFramedProtocol $
562             radiusCheckItem $ radiusReplyItem $
563             radiusFramedRoute $ radiusFramedRouting $ radiusIdleTimeout $
564             radiusGroupName $ radiusHint $ radiusHuntgroupName $
565             radiusLoginIPHost $ radiusLoginLATGroup $ radiusLoginLATNode $
566             radiusLoginLATPort $ radiusLoginLATService $ radiusLoginService $
567             radiusLoginTCPPort $ radiusLoginTime $ radiusPasswordRetry $
568             radiusPortLimit $ radiusPrompt $ radiusProxyToRealm $
569             radiusRealm $ radiusReplicateToRealm $ radiusServiceType $
570             radiusSessionTimeout $ radiusStripUserName $
571             radiusTerminationAction $ radiusTunnelClientEndpoint $ radiusProfileDn $
572             radiusSimultaneousUse $ radiusTunnelAssignmentId $
573             radiusTunnelMediumType $ radiusTunnelPassword $ radiusTunnelPreference $
574             radiusTunnelPrivateGroupId $ radiusTunnelServerEndpoint $
575             radiusTunnelType $ radiusUserCategory $ radiusVSA $
576             radiusExpiration $ dialupAccess $ radiusNASIpAddress $
577             radiusReplyMessage )
578    )
579
580 objectclass
581   ( 1.3.6.1.4.1.3317.4.3.2.2
582         NAME 'radiusObjectProfile'
583         SUP top STRUCTURAL
584         DESC 'A Container Objectclass to be used for creating radius profile object'
585         MUST cn
586         MAY ( uid $ userPassword $ description )
587   )