Show
Ignore:
Timestamp:
06/04/03 15:59:26 (21 years ago)
Author:
jalet
Message:

LDAP schema seems good.

Files:
1 modified

Legend:

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

    r1012 r1013  
    2727 
    2828attributetype ( 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' 
    3030        EQUALITY caseIgnoreIA5Match 
    3131        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 
     
    5656        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 
    5757 
     58attributetype ( 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         
     63attributetype ( 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 
     68attributetype ( 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 
     73attributetype ( 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 
     78attributetype ( 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 
     83attributetype ( 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 
     88attributetype ( 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 
     93attributetype ( 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 
     98attributetype ( 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 
     103attributetype ( 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         
     108attributetype ( 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 
    58113 
    59114## New Pykota User object type 
     
    74129        MUST ( pykotaPrinterName ) 
    75130        MAY  ( pykotaPricePerPage $ pykotaPricePerJob ) ) 
     131         
     132## New PyKota User Print Quota on a Printer         
     133objectclass ( 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         
     139objectclass ( 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         
     145objectclass ( 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