Changeset 1017 for pykota/trunk/initscripts/ldap/pykota.schema
- Timestamp:
- 06/06/03 16:21:08 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/initscripts/ldap/pykota.schema
r1015 r1017 16 16 # 17 17 # 18 # Contributors : Leif Johansson 19 # 18 20 # THIS IS WORK UNDER HEAVY DEVELOPPMENT ! 19 21 # … … 24 26 # 25 27 26 ## Pykota related LDAP attributes 28 # 29 # PyKota Attributes Types 30 # 27 31 32 # pykotaLimitBy 28 33 attributetype ( 1.3.6.1.4.1.16868.1.1.1 NAME 'pykotaLimitBy' 29 34 DESC 'How to limit the user/group : quota or balance' … … 31 36 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 32 37 38 # pykotaBalance 33 39 attributetype ( 1.3.6.1.4.1.16868.1.1.2 NAME 'pykotaBalance' 34 40 DESC 'Current account balance for the user, float' … … 36 42 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 37 43 44 # pykotaLifeTimePaid 38 45 attributetype ( 1.3.6.1.4.1.16868.1.1.3 NAME 'pykotaLifeTimePaid' 39 46 DESC 'Total money paid by the user to fill his account balance, float' … … 41 48 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 42 49 50 # pykotaPricePerPage 43 51 attributetype ( 1.3.6.1.4.1.16868.1.1.4 NAME 'pykotaPricePerPage' 44 52 DESC 'Price per page for a printer, float' … … 46 54 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 47 55 56 # pykotaPricePerJob 48 57 attributetype ( 1.3.6.1.4.1.16868.1.1.5 NAME 'pykotaPricePerJob' 49 58 DESC 'Price per job for a printer, float' … … 51 60 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 52 61 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 ) 57 58 attributetype ( 1.3.6.1.4.1.16868.1.1.7 NAME 'pykotaSoftLimit' 62 # pykotaSoftLimit 63 attributetype ( 1.3.6.1.4.1.16868.1.1.6 NAME 'pykotaSoftLimit' 59 64 DESC 'Soft limit in maximal number of pages' 60 65 EQUALITY integerMatch 61 66 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 62 67 63 attributetype ( 1.3.6.1.4.1.16868.1.1.8 NAME 'pykotaHardLimit' 68 # pykotaHardLimit 69 attributetype ( 1.3.6.1.4.1.16868.1.1.7 NAME 'pykotaHardLimit' 64 70 DESC 'Hard limit in maximal number of pages' 65 71 EQUALITY integerMatch 66 72 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 67 73 68 attributetype ( 1.3.6.1.4.1.16868.1.1.9 NAME 'pykotaDateLimit' 74 # pykotaDateLimit 75 attributetype ( 1.3.6.1.4.1.16868.1.1.8 NAME 'pykotaDateLimit' 69 76 DESC 'Date at which the soft limit becomes a hard one' 70 77 EQUALITY caseIgnoreIA5Match 71 78 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 72 79 73 attributetype ( 1.3.6.1.4.1.16868.1.1.10 NAME 'pykotaPageCounter' 80 # pykotaPageCounter 81 attributetype ( 1.3.6.1.4.1.16868.1.1.9 NAME 'pykotaPageCounter' 74 82 DESC 'Current page counter for the user on a particular printer' 75 83 EQUALITY integerMatch 76 84 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 77 85 78 attributetype ( 1.3.6.1.4.1.16868.1.1.11 NAME 'pykotaLifePageCounter' 86 # pykotaLifePageCounter 87 attributetype ( 1.3.6.1.4.1.16868.1.1.10 NAME 'pykotaLifePageCounter' 79 88 DESC 'Total page counter for the user on a particular printer' 80 89 EQUALITY integerMatch 81 90 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 82 91 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 ) 92 # pykotaJobId 93 attributetype ( 1.3.6.1.4.1.16868.1.1.11 NAME 'pykotaJobId' 94 DESC 'Id of a job in a printer history of jobs' 95 EQUALITY caseExactIA5Match 96 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 87 97 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' 98 # pykotaPrinterPageCounter 99 attributetype ( 1.3.6.1.4.1.16868.1.1.12 NAME 'pykotaPrinterPageCounter' 94 100 DESC 'Life time page counter of a printer when the job began' 95 101 EQUALITY integerMatch 96 102 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 97 103 98 attributetype ( 1.3.6.1.4.1.16868.1.1.15 NAME 'pykotaJobSize' 104 # pykotaJobSize 105 attributetype ( 1.3.6.1.4.1.16868.1.1.13 NAME 'pykotaJobSize' 99 106 DESC 'Current job size in number of pages in the history' 100 107 EQUALITY integerMatch 101 108 SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 102 109 103 attributetype ( 1.3.6.1.4.1.16868.1.1.16 NAME 'pykotaAction' 110 # pykotaAction 111 attributetype ( 1.3.6.1.4.1.16868.1.1.14 NAME 'pykotaAction' 104 112 DESC 'Was the job allowed, or denied' 105 113 EQUALITY caseIgnoreIA5Match 106 114 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 107 115 108 attributetype ( 1.3.6.1.4.1.16868.1.1.17 NAME 'pykotaJobDate' 109 DESC 'Date of when the job began' 116 # pykotaPrinterName 117 attributetype ( 1.3.6.1.4.1.16868.1.1.15 NAME 'pykotaPrinterName' 118 DESC 'PyKota printer name as received from the printing subsystem' 110 119 EQUALITY caseIgnoreIA5Match 111 120 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 121 122 # pykotaUserName 123 attributetype ( 1.3.6.1.4.1.16868.1.1.16 NAME 'pykotaUserName' 124 DESC 'PyKota user name' 125 EQUALITY caseExactIA5Match 126 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 127 128 # pykotaGroupName 129 attributetype ( 1.3.6.1.4.1.16868.1.1.17 NAME 'pykotaGroupName' 130 DESC 'PyKota group name' 131 EQUALITY caseExactIA5Match 132 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 133 134 # pykotaLastJobUUID 135 attributetype ( 1.3.6.1.4.1.16868.1.1.18 NAME 'pykotaLastJobUUID' 136 DESC 'Last job uuid in the history' 137 EQUALITY caseExactIA5Match 138 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 139 140 # 141 # PyKota Object Classes 142 # 112 143 113 114 ## New Pykota User object type 115 objectclass ( 1.3.6.1.4.1.16868.1.2.1 NAME 'pykotaUser' SUP top AUXILIARY 144 # pykotaUser 145 objectclass ( 1.3.6.1.4.1.16868.1.2.1 NAME 'pykotaAccount' SUP top AUXILIARY 116 146 DESC 'PyKota Auxiliary User Account' 117 MUST ( uid )118 MAY ( pykotaLimitBy $ pykotaBalance $ pykotaLifeTimePaid) )147 MUST ( uid $ pykotaUserName ) 148 MAY ( pykotaLimitBy ) ) 119 149 120 # # New Pykota Group object type150 # pykotaGroup 121 151 objectclass ( 1.3.6.1.4.1.16868.1.2.2 NAME 'pykotaGroup' SUP top AUXILIARY 122 152 DESC 'PyKota Auxiliary Group' 123 MUST ( cn )124 MAY ( pykotaLimitBy ) )153 MUST ( cn $ pykotaGroupName ) 154 MAY ( pykotaLimitBy $ memberUid ) ) 125 155 126 # # New Pykota Printer object type127 objectclass ( 1.3.6.1.4.1.16868.1.2.3 NAME 'pykotaPrinter' SUP top STRUCTURAL156 # pykotaPrinter 157 objectclass ( 1.3.6.1.4.1.16868.1.2.3 NAME 'pykotaPrinter' SUP top AUXILIARY 128 158 DESC 'PyKota Printer' 129 MUST ( pykotaPrinterName )159 MUST ( cn $ pykotaPrinterName ) 130 160 MAY ( pykotaPricePerPage $ pykotaPricePerJob ) ) 131 161 132 # # New PyKota User Print Quota on a Printer133 objectclass ( 1.3.6.1.4.1.16868.1.2.4 NAME 'pykotaUserPQuota' SUP top STRUCTURAL162 # pykotaUserPQuota 163 objectclass ( 1.3.6.1.4.1.16868.1.2.4 NAME 'pykotaUserPQuota' SUP top AUXILIARY 134 164 DESC 'PyKota User Quota on a Printer' 135 MUST ( uid)165 MUST ( cn $ pykotaUserName $ pykotaPrinterName ) 136 166 MAY ( pykotaPageCounter $ pykotaLifePageCounter $ pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit ) ) 137 167 138 # # New PyKota Group Print Quota on a Printer139 objectclass ( 1.3.6.1.4.1.16868.1.2.5 NAME 'pykotaGroupPQuota' SUP top STRUCTURAL168 # pykotaGroupPQuota 169 objectclass ( 1.3.6.1.4.1.16868.1.2.5 NAME 'pykotaGroupPQuota' SUP top AUXILIARY 140 170 DESC 'PyKota Group Quota on a Printer' 141 MUST ( cn )171 MUST ( cn $ pykotaGroupName $ pykotaPrinterName ) 142 172 MAY ( pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit ) ) 143 173 144 # # New PyKota Job entry in a Printer's history145 objectclass ( 1.3.6.1.4.1.16868.1.2.6 NAME 'pykota PrinterJob' SUP top STRUCTURAL174 # pykotaJob 175 objectclass ( 1.3.6.1.4.1.16868.1.2.6 NAME 'pykotaJob' SUP top AUXILIARY 146 176 DESC 'An entry in the job history for a printer' 147 MUST ( pykotaJobHistoryId $ uid$ pykotaJobId )148 MAY ( pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobDate) )177 MUST ( cn $ pykotaUserName $ pykotaPrinterName $ pykotaJobId ) 178 MAY ( pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction ) ) 149 179 180 # pykotaAccountBalance 181 objectclass ( 1.3.6.1.4.1.16868.1.2.7 NAME 'pykotaAccountBalance' SUP top AUXILIARY 182 DESC 'PyKota User account balance' 183 MUST ( pykotaUserName ) 184 MAY ( pykotaBalance $ pykotaLifeTimePaid ) ) 185 186 # pykotaLastJob 187 objectclass ( 1.3.6.1.4.1.16868.1.2.8 NAME 'pykotaLastJob' SUP top AUXILIARY 188 DESC 'Last job information for a printer' 189 MUST ( pykotaPrinterName $ pykotaLastJobUUID ) ) 190 191 # pykotaNamed - Use it if you have to 192 objectclass ( 1.3.6.1.4.1.16868.1.2.9 NAME 'pykotaNamed' SUP top STRUCTURAL 193 DESC 'PyKota Named Object' 194 MUST ( cn ) ) 195 196