[1007] | 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 | |
---|
[1008] | 48 | attributetype ( 1.3.6.1.4.1.16868.1.1.5 NAME 'pykotaPricePerJob' |
---|
[1007] | 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 | |
---|
[1012] | 53 | attributetype ( 1.3.6.1.4.1.16868.1.1.6 NAME 'pykotaPrinterName' |
---|
| 54 | DESC 'Printer name as defined in the printing environment, e.g. lp' |
---|
| 55 | EQUALITY caseIgnoreIA5Match |
---|
| 56 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
[1007] | 57 | |
---|
[1012] | 58 | |
---|
[1007] | 59 | ## New Pykota User object type |
---|
| 60 | objectclass ( 1.3.6.1.4.1.16868.1.2.1 NAME 'pykotaUser' SUP top AUXILIARY |
---|
| 61 | DESC 'PyKota Auxiliary User Account' |
---|
| 62 | MUST ( uid ) |
---|
[1010] | 63 | MAY ( pykotaLimitBy $ pykotaBalance $ pykotaLifeTimePaid ) ) |
---|
[1007] | 64 | |
---|
| 65 | ## New Pykota Group object type |
---|
| 66 | objectclass ( 1.3.6.1.4.1.16868.1.2.2 NAME 'pykotaGroup' SUP top AUXILIARY |
---|
| 67 | DESC 'PyKota Auxiliary Group' |
---|
| 68 | MUST ( cn ) |
---|
[1010] | 69 | MAY ( pykotaLimitBy ) ) |
---|
[1007] | 70 | |
---|
| 71 | ## New Pykota Printer object type |
---|
[1012] | 72 | objectclass ( 1.3.6.1.4.1.16868.1.2.3 NAME 'pykotaPrinter' SUP top STRUCTURAL |
---|
| 73 | DESC 'PyKota Printer' |
---|
| 74 | MUST ( pykotaPrinterName ) |
---|
[1010] | 75 | MAY ( pykotaPricePerPage $ pykotaPricePerJob ) ) |
---|