Changeset 1013
- Timestamp:
- 06/04/03 15:59:26 (21 years ago)
- Location:
- pykota/trunk/initscripts
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/initscripts/pykota-sample.ldif
r1012 r1013 1 #dn: ou=People,dc=librelogiciel,dc=com2 #ou: People3 #objectClass: organizationalUnit1 dn: ou=People,dc=librelogiciel,dc=com 2 ou: People 3 objectClass: organizationalUnit 4 4 5 #dn: ou=Groups,dc=librelogiciel,dc=com6 #ou: Groups7 #objectClass: organizationalUnit5 dn: ou=Groups,dc=librelogiciel,dc=com 6 ou: Groups 7 objectClass: organizationalUnit 8 8 9 #dn: ou=Printers,dc=librelogiciel,dc=com10 #ou: Printers11 #objectClass: organizationalUnit9 dn: ou=Printers,dc=librelogiciel,dc=com 10 ou: Printers 11 objectClass: organizationalUnit 12 12 13 #dn: uid=jerome,ou=People,dc=librelogiciel,dc=com14 #uid: jerome15 #cn:: SmVyb21lIEFsZXQ=16 #objectClass: account17 #objectClass: posixAccount18 #objectClass: top19 #objectClass: shadowAccount20 #objectClass: pykotaUser21 #userPassword: {crypt}PvuIT4Mz8.lCM22 #shadowLastChange: 1209323 #shadowMax: 9999924 #shadowWarning: 725 #loginShell: /bin/bash26 #uidNumber: 50027 #gidNumber: 50028 #homeDirectory: /home/jerome29 #gecos: Jerome Alet,,,30 #pykotaLimitBy: quota31 #pykotaBalance: 032 #pykotaLifeTimePaid: 013 dn: uid=jerome,ou=People,dc=librelogiciel,dc=com 14 uid: jerome 15 cn:: SmVyb21lIEFsZXQ= 16 objectClass: account 17 objectClass: posixAccount 18 objectClass: top 19 objectClass: shadowAccount 20 objectClass: pykotaUser 21 userPassword: {crypt}PvuIT4Mz8.lCM 22 shadowLastChange: 12093 23 shadowMax: 99999 24 shadowWarning: 7 25 loginShell: /bin/bash 26 uidNumber: 500 27 gidNumber: 500 28 homeDirectory: /home/jerome 29 gecos: Jerome Alet,,, 30 pykotaLimitBy: quota 31 pykotaBalance: 0 32 pykotaLifeTimePaid: 0 33 33 34 #dn: cn=jerome,ou=Groups,dc=librelogiciel,dc=com 35 #objectClass: posixGroup 36 #objectClass: top 37 #objectClass: pykotaGroup 38 #cn: jerome 39 #userPassword: {crypt}x 40 #gidNumber: 500 41 #pykotaLimitBy: quota 34 dn: cn=devel,ou=Groups,dc=librelogiciel,dc=com 35 objectClass: posixGroup 36 objectClass: top 37 objectClass: pykotaGroup 38 cn: devel 39 userPassword: {crypt}x 40 gidNumber: 500 41 memberUid: jerome 42 pykotaLimitBy: quota 42 43 43 #dn: pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com44 #objectClass: pykotaPrinter45 #pykotaPrinterName: apple46 #pykotaPricePerPage: 0.147 #pykotaPricePerJob: 0.2544 dn: pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com 45 objectClass: pykotaPrinter 46 pykotaPrinterName: apple 47 pykotaPricePerPage: 0.1 48 pykotaPricePerJob: 0.25 48 49 50 dn: ou=userPQuotas,pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com 51 ou: userPQuotas 52 objectClass: organizationalUnit 53 54 dn: ou=groupPQuotas,pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com 55 ou: groupPQuotas 56 objectClass: organizationalUnit 57 58 dn: ou=Jobs,pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com 59 ou: Jobs 60 objectClass: organizationalUnit 61 62 dn: uid=jerome,ou=userPQuotas,pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com 63 objectClass: pykotaUserPQuota 64 uid: jerome 65 pykotaPageCounter: 0 66 pykotaLifePageCounter: 0 67 pykotaSoftLimit: 100 68 pykotaHardLimit: 110 69 pykotaDateLimit: None 70 71 dn: cn=devel,ou=groupPQuotas,pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com 72 objectClass: pykotaGroupPQuota 73 cn: devel 74 pykotaSoftLimit: 400 75 pykotaHardLimit: 450 76 pykotaDateLimit: None 77 78 dn: pykotaJobHistoryId=1,ou=Jobs,pykotaPrinterName=apple,ou=Printers,dc=librelogiciel,dc=com 79 objectClass: pykotaPrinterJob 80 pykotaJobHistoryId: 1 81 pykotaJobId: 15 82 uid: jerome 83 pykotaPrinterPageCounter: 1533 84 pykotaJobSize: 5 85 pykotaAction: ALLOW 86 pykotaJobDate: 2003-06-04 16:12 -
pykota/trunk/initscripts/pykota.schema
r1012 r1013 27 27 28 28 attributetype ( 1.3.6.1.4.1.16868.1.1.1 NAME 'pykotaLimitBy' 29 DESC 'How to limit the user : quota or balance'29 DESC 'How to limit the user/group : quota or balance' 30 30 EQUALITY caseIgnoreIA5Match 31 31 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) … … 56 56 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 57 57 58 attributetype ( 1.3.6.1.4.1.16868.1.1.7 NAME 'pykotaSoftLimit' 59 DESC 'Soft limit in maximal number of pages' 60 EQUALITY integerMatch 61 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 62 63 attributetype ( 1.3.6.1.4.1.16868.1.1.8 NAME 'pykotaHardLimit' 64 DESC 'Hard limit in maximal number of pages' 65 EQUALITY integerMatch 66 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 67 68 attributetype ( 1.3.6.1.4.1.16868.1.1.9 NAME 'pykotaDateLimit' 69 DESC 'Date at which the soft limit becomes a hard one' 70 EQUALITY caseIgnoreIA5Match 71 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 72 73 attributetype ( 1.3.6.1.4.1.16868.1.1.10 NAME 'pykotaPageCounter' 74 DESC 'Current page counter for the user on a particular printer' 75 EQUALITY integerMatch 76 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 77 78 attributetype ( 1.3.6.1.4.1.16868.1.1.11 NAME 'pykotaLifePageCounter' 79 DESC 'Total page counter for the user on a particular printer' 80 EQUALITY integerMatch 81 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 82 83 attributetype ( 1.3.6.1.4.1.16868.1.1.12 NAME 'pykotaJobHistoryId' 84 DESC 'Id of an entry in a printer history of jobs' 85 EQUALITY integerMatch 86 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 87 88 attributetype ( 1.3.6.1.4.1.16868.1.1.13 NAME 'pykotaJobId' 89 DESC 'Id of a job in a printer history of jobs' 90 EQUALITY integerMatch 91 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 92 93 attributetype ( 1.3.6.1.4.1.16868.1.1.14 NAME 'pykotaPrinterPageCounter' 94 DESC 'Life time page counter of a printer when the job began' 95 EQUALITY integerMatch 96 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 97 98 attributetype ( 1.3.6.1.4.1.16868.1.1.15 NAME 'pykotaJobSize' 99 DESC 'Current job size in number of pages in the history' 100 EQUALITY integerMatch 101 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 102 103 attributetype ( 1.3.6.1.4.1.16868.1.1.16 NAME 'pykotaAction' 104 DESC 'Was the job allowed, or denied' 105 EQUALITY caseIgnoreIA5Match 106 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 107 108 attributetype ( 1.3.6.1.4.1.16868.1.1.17 NAME 'pykotaJobDate' 109 DESC 'Date of when the job began' 110 EQUALITY caseIgnoreIA5Match 111 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 112 58 113 59 114 ## New Pykota User object type … … 74 129 MUST ( pykotaPrinterName ) 75 130 MAY ( pykotaPricePerPage $ pykotaPricePerJob ) ) 131 132 ## New PyKota User Print Quota on a Printer 133 objectclass ( 1.3.6.1.4.1.16868.1.2.4 NAME 'pykotaUserPQuota' SUP top STRUCTURAL 134 DESC 'PyKota User Quota on a Printer' 135 MUST ( uid ) 136 MAY ( pykotaPageCounter $ pykotaLifePageCounter $ pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit ) ) 137 138 ## New PyKota Group Print Quota on a Printer 139 objectclass ( 1.3.6.1.4.1.16868.1.2.5 NAME 'pykotaGroupPQuota' SUP top STRUCTURAL 140 DESC 'PyKota Group Quota on a Printer' 141 MUST ( cn ) 142 MAY ( pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit ) ) 143 144 ## New PyKota Job entry in a Printer's history 145 objectclass ( 1.3.6.1.4.1.16868.1.2.6 NAME 'pykotaPrinterJob' SUP top STRUCTURAL 146 DESC 'An entry in the job history for a printer' 147 MUST ( pykotaJobHistoryId $ uid $ pykotaJobId ) 148 MAY ( pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobDate ) ) 149