Show
Ignore:
Timestamp:
06/06/03 22:49:15 (21 years ago)
Author:
jalet
Message:

Very latest schema. UNTESTED.

Location:
pykota/trunk/initscripts/ldap
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/ldap/pykota-sample.ldif

    r1017 r1018  
    7272 
    7373dn: cn=apple,ou=Printers,ou=PyKota,dc=librelogiciel,dc=com 
    74 objectClass: pykotaNamed 
     74objectClass: pykotaObject 
    7575objectClass: pykotaPrinter 
    7676cn: apple 
     
    8080 
    8181dn: cn=uniqueidentifier01,ou=UQuotas,ou=PyKota,dc=librelogiciel,dc=com 
    82 objectClass: pykotaNamed 
     82objectClass: pykotaObject 
    8383objectClass: pykotaUserPQuota 
    8484cn: uniqueidentifier01 
     
    9292 
    9393dn: cn=uniqueidentifier02,ou=GQuotas,ou=PyKota,dc=librelogiciel,dc=com 
    94 objectClass: pykotaNamed 
     94objectClass: pykotaObject 
    9595objectClass: pykotaGroupPQuota 
    9696cn: uniqueidentifier02 
     
    102102 
    103103dn: cn=uniqueidentifier03,ou=Jobs,ou=PyKota,dc=librelogiciel,dc=com 
    104 objectClass: pykotaNamed 
     104objectClass: pykotaObject 
    105105objectClass: pykotaJob 
    106106cn: uniqueidentifier03 
     
    113113 
    114114dn: cn=uniqueidentifier04,ou=LastJobs,ou=PyKota,dc=librelogiciel,dc=com 
    115 objectClass: pykotaNamed 
     115objectClass: pykotaObject 
    116116objectClass: pykotaLastJob 
    117117cn: uniqueidentifier04 
    118118pykotaPrinterName: apple 
    119 pykotaLastJobUUID: uniqueidentifier03 
     119pykotaLastJobIdent: uniqueidentifier03 
  • pykota/trunk/initscripts/ldap/pykota.schema

    r1017 r1018  
    110110# pykotaAction 
    111111attributetype ( 1.3.6.1.4.1.16868.1.1.14 NAME 'pykotaAction' 
    112         DESC 'Was the job allowed, or denied' 
    113         EQUALITY caseIgnoreIA5Match 
     112        DESC 'Was the job allowed, or denied : ( "ALLOW" |  "DENY" )' 
     113        EQUALITY caseExactIA5Match 
    114114        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 
    115115         
     
    132132        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 
    133133         
    134 # pykotaLastJobUUID         
    135 attributetype ( 1.3.6.1.4.1.16868.1.1.18 NAME 'pykotaLastJobUUID' 
    136         DESC 'Last job uuid in the history' 
     134# pykotaLastJobIdent         
     135attributetype ( 1.3.6.1.4.1.16868.1.1.18 NAME 'pykotaLastJobIdent' 
     136        DESC 'Identifies the last job in the history' 
    137137        EQUALITY caseExactIA5Match 
    138138        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 
     
    145145objectclass ( 1.3.6.1.4.1.16868.1.2.1 NAME 'pykotaAccount' SUP top AUXILIARY 
    146146        DESC 'PyKota Auxiliary User Account' 
    147         MUST ( uid $ pykotaUserName ) 
    148         MAY  ( pykotaLimitBy ) ) 
     147        MUST ( uid ) 
     148        MAY  ( pykotaUserName $ pykotaLimitBy ) ) 
    149149         
    150150# pykotaGroup         
    151151objectclass ( 1.3.6.1.4.1.16868.1.2.2 NAME 'pykotaGroup' SUP top AUXILIARY 
    152152        DESC 'PyKota Auxiliary Group' 
    153         MUST ( cn $ pykotaGroupName ) 
    154         MAY  ( pykotaLimitBy $ memberUid ) ) 
     153        MUST ( cn ) 
     154        MAY  ( pykotaGroupName $ pykotaLimitBy $ memberUid $ uniqueMember $ member ) ) 
    155155         
    156156# pykotaPrinter         
    157157objectclass ( 1.3.6.1.4.1.16868.1.2.3 NAME 'pykotaPrinter' SUP top AUXILIARY 
    158158        DESC 'PyKota Printer' 
    159         MUST ( cn $ pykotaPrinterName ) 
    160         MAY  ( pykotaPricePerPage $ pykotaPricePerJob ) ) 
     159        MUST ( cn ) 
     160        MAY  ( pykotaPrinterName $ pykotaPricePerPage $ pykotaPricePerJob ) ) 
    161161         
    162162# pykotaUserPQuota         
     
    181181objectclass ( 1.3.6.1.4.1.16868.1.2.7 NAME 'pykotaAccountBalance' SUP top AUXILIARY 
    182182        DESC 'PyKota User account balance' 
    183         MUST ( pykotaUserName ) 
    184         MAY  ( pykotaBalance $ pykotaLifeTimePaid ) ) 
     183        MAY  ( pykotaUserName $ pykotaBalance $ pykotaLifeTimePaid ) ) 
    185184         
    186185# pykotaLastJob         
    187186objectclass ( 1.3.6.1.4.1.16868.1.2.8 NAME 'pykotaLastJob' SUP top AUXILIARY 
    188187        DESC 'Last job information for a printer' 
    189         MUST ( pykotaPrinterName $ pykotaLastJobUUID ) ) 
     188        MUST ( pykotaLastJobIdent ) 
     189        MAY ( pykotaPrinterName ) )  
    190190         
    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' 
     191# pykotaObject - Use it if you have to  
     192objectclass ( 1.3.6.1.4.1.16868.1.2.9 NAME 'pykotaObject' SUP top STRUCTURAL 
     193        DESC 'PyKota Object' 
    194194        MUST ( cn ) ) 
    195195