Show
Ignore:
Timestamp:
06/15/05 22:46:47 (19 years ago)
Author:
jerome
Message:

Big database changes.
Severity : From now on, existing datas have to be migrated
using the appropriate script if needed. LDAP users will need
to use the new schema. Beginning tomorrow, the code will be in
experimental quality instead of stable quality.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/ldap/pykota.schema

    r2146 r2317  
    226226        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) 
    227227         
     228# pykotaPrecomputedJobSize 
     229attributetype ( 1.3.6.1.4.1.16868.1.1.33 NAME 'pykotaPrecomputedJobSize' 
     230        DESC 'Precomputed job size in number of pages in the history' 
     231        EQUALITY integerMatch 
     232        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 
     233 
     234# pykotaPrecomputedJobPrice 
     235attributetype ( 1.3.6.1.4.1.16868.1.1.34 NAME 'pykotaPrecomputedJobPrice' 
     236        DESC 'Precomputed Price of a particular job in the history, float' 
     237        EQUALITY caseIgnoreIA5Match 
     238        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 
     239         
     240# pykotaMaxJobSize 
     241attributetype ( 1.3.6.1.4.1.16868.1.1.35 NAME 'pykotaMaxJobSize' 
     242        DESC 'Maximum size allowed for a job' 
     243        EQUALITY integerMatch 
     244        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) 
     245 
     246# pykotaTemporaryDenied 
     247attributetype ( 1.3.6.1.4.1.16868.1.1.36 NAME 'pykotaTemporaryDenied' 
     248        DESC 'Indicates if the user is temporarily denied to print' 
     249        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) 
     250 
     251# pykotaPassThrough 
     252attributetype ( 1.3.6.1.4.1.16868.1.1.37 NAME 'pykotaPassThrough' 
     253        DESC 'Indicates if the printer is in pass through mode' 
     254        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) 
    228255 
    229256#         
     
    235262        DESC 'PyKota Auxiliary User Account' 
    236263        MUST ( uid ) 
    237         MAY  ( pykotaUserName $ pykotaLimitBy $ mail ) ) 
     264        MAY  ( pykotaUserName $ pykotaLimitBy $ mail $ description ) ) 
    238265         
    239266# pykotaGroup         
     
    241268        DESC 'PyKota Auxiliary Group' 
    242269        MUST ( cn ) 
    243         MAY  ( pykotaGroupName $ pykotaLimitBy $ memberUid $ uniqueMember $ member ) ) 
     270        MAY  ( pykotaGroupName $ pykotaLimitBy $ memberUid $ uniqueMember $ member $ description ) ) 
    244271         
    245272# pykotaPrinter         
     
    247274        DESC 'PyKota Printer' 
    248275        MUST ( cn ) 
    249         MAY  ( description $ pykotaPrinterName $ pykotaPricePerPage $ pykotaPricePerJob $ pykotaPrinterCoefficient $ uniqueMember ) ) 
     276        MAY  ( pykotaMaxJobSize $ pykotaPassThrough $ description $ pykotaPrinterName $ pykotaPricePerPage $ pykotaPricePerJob $ pykotaPrinterCoefficient $ uniqueMember ) ) 
    250277         
    251278# pykotaUserPQuota         
     
    253280        DESC 'PyKota User Quota on a Printer' 
    254281        MUST ( cn $ pykotaUserName $ pykotaPrinterName ) 
    255         MAY  ( pykotaPageCounter $ pykotaLifePageCounter $ pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit $ pykotaWarnCount ) ) 
     282        MAY  ( pykotaMaxJobSize $ pykotaTemporaryDenied $ pykotaPageCounter $ pykotaLifePageCounter $ pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit $ pykotaWarnCount ) ) 
    256283         
    257284# pykotaGroupPQuota         
     
    259286        DESC 'PyKota Group Quota on a Printer' 
    260287        MUST ( cn $ pykotaGroupName $ pykotaPrinterName ) 
    261         MAY  ( pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit ) ) 
     288        MAY  ( pykotaMaxJobSize $ pykotaSoftLimit $ pykotaHardLimit $ pykotaDateLimit ) ) 
    262289         
    263290# pykotaJob         
     
    265292        DESC 'An entry in the job history for a printer' 
    266293        MUST ( cn $ pykotaUserName $ pykotaPrinterName $ pykotaJobId ) 
    267         MAY  ( pykotaBillingCode $ pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobPrice $ pykotaFileName $ pykotaTitle $ pykotaCopies $ pykotaOptions $ pykotaHostName $ pykotaJobSizeBytes $ pykotaMD5Sum $ pykotaPages ) ) 
     294        MAY  ( pykotaPrecomputedJobPrice $ pykotaPrecomputedJobSize $ pykotaBillingCode $ pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobPrice $ pykotaFileName $ pykotaTitle $ pykotaCopies $ pykotaOptions $ pykotaHostName $ pykotaJobSizeBytes $ pykotaMD5Sum $ pykotaPages ) ) 
    268295         
    269296# pykotaAccountBalance 
     
    278305        MAY ( pykotaPrinterName ) )  
    279306         
     307# pykotaBilling 
     308objectclass ( 1.3.6.1.4.1.16868.1.2.10 NAME 'pykotaBilling' SUP top AUXILIARY 
     309        DESC 'Allowed billing codes' 
     310        MUST ( cn $ pykotaBillingCode ) 
     311        MAY ( pykotaPageCounter $ pykotaBalance ) ) 
     312         
    280313# pykotaObject - Use it if you have to  
    281314objectclass ( 1.3.6.1.4.1.16868.1.2.9 NAME 'pykotaObject' SUP top STRUCTURAL