1 | # $Id$ |
---|
2 | # |
---|
3 | # pykota.schema |
---|
4 | # |
---|
5 | # LDAP Schema for Pykota Quota System |
---|
6 | # Version 0.2 |
---|
7 | # |
---|
8 | # Written 2003-05-28 by Wayne Godoy and John Flynn <wgodoy =AT= ub -DOT- edu -DOT- bz> |
---|
9 | # |
---|
10 | # Modified by Jerome Alet 2003-06-01 |
---|
11 | # |
---|
12 | # 16868.x => Conseil Internet & Logiciels Libres |
---|
13 | # 16868.1.x => Pykota |
---|
14 | # 16868.1.1.x => attributes |
---|
15 | # 16868.1.2.x => classes |
---|
16 | # |
---|
17 | # |
---|
18 | # THIS IS WORK UNDER HEAVY DEVELOPPMENT ! |
---|
19 | # |
---|
20 | # USE AT YOUR OWN RISK, AND ONLY IF YOU PERFECTLY KNOW |
---|
21 | # WHAT YOU ARE DOING. |
---|
22 | # |
---|
23 | # WHEN LDAP SUPPORT WILL BE FINALIZED, YOU'LL KNOW IT ! |
---|
24 | # |
---|
25 | |
---|
26 | ## Pykota related LDAP attributes |
---|
27 | |
---|
28 | attributetype ( 1.3.6.1.4.1.16868.1.1.1 NAME 'pykotaLimitBy' |
---|
29 | DESC 'How to limit the user : quota or balance' |
---|
30 | EQUALITY caseIgnoreIA5Match |
---|
31 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
32 | |
---|
33 | attributetype ( 1.3.6.1.4.1.16868.1.1.2 NAME 'pykotaBalance' |
---|
34 | DESC 'Current account balance for the user, float' |
---|
35 | EQUALITY caseIgnoreIA5Match |
---|
36 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
37 | |
---|
38 | attributetype ( 1.3.6.1.4.1.16868.1.1.3 NAME 'pykotaLifeTimePaid' |
---|
39 | DESC 'Total money paid by the user to fill his account balance, float' |
---|
40 | EQUALITY caseIgnoreIA5Match |
---|
41 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
42 | |
---|
43 | attributetype ( 1.3.6.1.4.1.16868.1.1.4 NAME 'pykotaPricePerPage' |
---|
44 | DESC 'Price per page for a printer, float' |
---|
45 | EQUALITY caseIgnoreIA5Match |
---|
46 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
47 | |
---|
48 | attributetype ( 1.3.6.1.4.1.16868.1.1.5 NAME 'pykotaPricePerJob' |
---|
49 | DESC 'Price per job for a printer, float' |
---|
50 | EQUALITY caseIgnoreIA5Match |
---|
51 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
52 | |
---|
53 | |
---|
54 | ## New Pykota User object type |
---|
55 | objectclass ( 1.3.6.1.4.1.16868.1.2.1 NAME 'pykotaUser' SUP top AUXILIARY |
---|
56 | DESC 'PyKota Auxiliary User Account' |
---|
57 | MUST ( uid ) |
---|
58 | MAY ( pykotaLimitBy $ pykotaBalance $ pykotaLifeTimePaid ) ) |
---|
59 | |
---|
60 | ## New Pykota Group object type |
---|
61 | objectclass ( 1.3.6.1.4.1.16868.1.2.2 NAME 'pykotaGroup' SUP top AUXILIARY |
---|
62 | DESC 'PyKota Auxiliary Group' |
---|
63 | MUST ( cn ) |
---|
64 | MAY ( pykotaLimitBy ) ) |
---|
65 | |
---|
66 | ## New Pykota Printer object type |
---|
67 | objectclass ( 1.3.6.1.4.1.16868.1.2.3 NAME 'pykotaPrinter' SUP top AUXILIARY |
---|
68 | DESC 'PyKota Auxiliary Printer' |
---|
69 | MUST ( cn ) |
---|
70 | MAY ( pykotaPricePerPage $ pykotaPricePerJob ) ) |
---|