X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fopenldap%2Ffai.schema;h=5bfbcd8a7cb1f254921e4214cc92116407211b50;hb=8c5054ae83cdbf8a2eceafe63b0b1a6f93f37aee;hp=c1f5dfeecb7cb77983c72a380222bb6faeba8da4;hpb=824dc677a847cc4abc3f8221eb0d87f927906110;p=gosa.git diff --git a/contrib/openldap/fai.schema b/contrib/openldap/fai.schema index c1f5dfeec..5bfbcd8a7 100644 --- a/contrib/openldap/fai.schema +++ b/contrib/openldap/fai.schema @@ -52,6 +52,7 @@ # FAIdebconfInfo | FAIvariable, FAIvariableContent, FAIvariableType # FAIobject | FAIclass, FAIstatus, macAddress # FAIrepository | FAIdebianMirror, FAIdebianRelease, FAIdebianSection +# FAIrepositoryServer | FAIrepository # # Rem.: Except of FAIdebconfInfo and FAIobject, all object classes are inherited # from FAIclass, so ALL cn's MUST be unique in your tree. @@ -137,9 +138,7 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.5.8 NAME 'FAIfsType' # Description: Store multiline text, mostly used for scripts and hooks. attributetype ( 1.3.6.1.4.1.10098.1.1.5.9 NAME 'FAIscript' DESC 'General storage field for multiline text aka scripts' - EQUALITY caseIgnoreIA5Match - SUBSTR caseIgnoreIA5SubstringsMatch - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 SINGLE-VALUE) # Name : FAItask # Description: Assign a hook to a special task. You can use it i.e. to alter @@ -292,6 +291,26 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.5.26 NAME 'FAIdebianSection' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) +# Name : FAIrepository +# Description: Used to store repository settings +attributetype ( 1.3.6.1.4.1.10098.1.1.5.27 NAME 'FAIrepository' + DESC 'TODO' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +# Name : FAIstate +# Description: Used to store repository state (branched/freezed) +attributetype ( 1.3.6.1.4.1.10098.1.1.5.28 NAME 'FAIstate' + DESC 'TODO' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +# Name : FAIrelease +# Description: Used to store the release +attributetype ( 1.3.6.1.4.1.10098.1.1.5.29 NAME 'FAIrelease' + DESC 'TODO' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + ## ## Object class definitions (allocated from the GONICUS oid space) ## @@ -302,7 +321,7 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.5.26 NAME 'FAIdebianSection' objectclass (1.3.6.1.4.1.10098.1.2.1.40.1 NAME 'FAIclass' SUP top STRUCTURAL DESC 'Generic class parent for FAI objects' - MUST ( cn ) MAY ( description ) ) + MUST ( cn ) MAY ( FAIstate $ description ) ) # Name : FAIprofile # Description: FAIprofile which bundles a set of FAIclass entries @@ -310,96 +329,104 @@ objectclass (1.3.6.1.4.1.10098.1.2.1.40.1 NAME 'FAIclass' # to simplify administration tasks for so called junior # administrators. objectclass (1.3.6.1.4.1.10098.1.2.1.40.2 NAME 'FAIprofile' - SUP FAIclass STRUCTURAL + SUP top AUXILIARY DESC 'FAI profile container for multiple class objects' - MUST ( FAIclass ) ) + MUST ( cn $ FAIclass ) MAY ( FAIstate $ description ) ) -# Name : FAIpartition +# Name : FAIpartitionTable # Description: Each installation profile should contain a partition # table in order to perform well. FAIpartitionTable is # a container for partition entries. objectclass (1.3.6.1.4.1.10098.1.2.1.40.3 NAME 'FAIpartitionTable' - SUP FAIclass STRUCTURAL - DESC 'Stores FAI partition tables' ) + SUP top AUXILIARY + DESC 'Stores FAI partition tables' + MUST ( cn ) MAY ( FAIstate $ description ) ) # Name : FAIpartitionDisk # Description: Each installation profile should contain a partition # table in order to perform well. FAIpartitionTable is # a container for partition entries. objectclass (1.3.6.1.4.1.10098.1.2.1.40.4 NAME 'FAIpartitionDisk' - SUP FAIclass STRUCTURAL - DESC 'Stores FAI partition tables' ) + SUP top AUXILIARY + DESC 'Stores FAI partition tables' + MUST ( cn ) MAY ( FAIstate $ description ) ) # Name : FAIpartitionEntry # Description: This object defines a single partition entry for the # FAI partitioner. objectclass (1.3.6.1.4.1.10098.1.2.1.40.5 NAME 'FAIpartitionEntry' - SUP FAIpartitionTable STRUCTURAL + SUP top AUXILIARY DESC 'One partition table entry' MUST ( FAIpartitionType $ FAIpartitionNr $ FAIfsType $ - FAImountPoint $ FAIpartitionSize ) - MAY ( FAImountOptions $ FAIfsOptions $ FAIpartitionFlags ) ) + FAImountPoint $ FAIpartitionSize $ cn ) + MAY ( FAImountOptions $ FAIfsOptions $ FAIpartitionFlags $ + description $ FAIstate ) ) # Name : FAIhook # Description: Container for hooks objectclass (1.3.6.1.4.1.10098.1.2.1.40.6 NAME 'FAIhook' - SUP FAIclass STRUCTURAL - DESC 'Stores FAI partition tables' ) + SUP top AUXILIARY + DESC 'Stores FAI partition tables' + MUST ( cn ) MAY ( FAIstate $ description ) ) # Name : FAIhookEntry # Description: Hooks are stored with their FAI task inside the # FAIhook object. objectclass (1.3.6.1.4.1.10098.1.2.1.40.7 NAME 'FAIhookEntry' - SUP FAIclass STRUCTURAL + SUP top AUXILIARY DESC 'FAI hook storage' - MUST ( FAIscript $ FAItask ) ) + MUST ( cn $ FAIscript $ FAItask ) MAY ( FAIstate $ description ) ) # Name : FAIscriptEntry # Description: Container for scripts objectclass (1.3.6.1.4.1.10098.1.2.1.40.8 NAME 'FAIscriptEntry' - SUP FAIclass STRUCTURAL + SUP top AUXILIARY DESC 'FAI script storage' - MUST ( FAIscript $ FAIpriority ) ) + MUST ( cn $ FAIscript $ FAIpriority ) MAY ( FAIstate $ description ) ) # Name : FAIscript # Description: Hooks and scripts are somewhat similar. objectclass (1.3.6.1.4.1.10098.1.2.1.40.9 NAME 'FAIscript' - SUP FAIclass STRUCTURAL - DESC 'FAI script storage' ) + SUP top AUXILIARY + DESC 'FAI script storage' + MUST ( cn ) MAY ( FAIstate $ description ) ) # Name : FAIvariable # Description: Store a set of variables in this container. objectclass (1.3.6.1.4.1.10098.1.2.1.40.10 NAME 'FAIvariable' - SUP FAIclass STRUCTURAL - DESC 'Stores FAI variables sub entries' ) + SUP top AUXILIARY + DESC 'Stores FAI variables sub entries' + MUST ( cn ) MAY ( FAIstate $ description ) ) # Name : FAIvariableEntry # Description: Stores a single variable. objectclass (1.3.6.1.4.1.10098.1.2.1.40.11 NAME 'FAIvariableEntry' - SUP FAIvariable STRUCTURAL + SUP top AUXILIARY DESC 'Stores single variable entries' - MUST ( FAIvariableContent ) ) + MUST ( cn $ FAIvariableContent ) MAY ( FAIstate $ description ) ) # Name : FAIpackagelist # Description: Stores a complete package list and is container # for several FAIdebconfInfo scripts objectclass (1.3.6.1.4.1.10098.1.2.1.40.12 NAME 'FAIpackageList' - SUP FAIclass STRUCTURAL + SUP top AUXILIARY DESC 'Stores complete package lists' - MUST ( FAIpackage ) MAY ( FAIpackagelistDependency $ FAIinstallMethod ) ) + MUST ( cn $ FAIpackage ) MAY ( FAIpackagelistDependency $ FAIinstallMethod $ description $ FAIstate ) ) # Name : FAItemplate # Description: Container for template objects. objectclass (1.3.6.1.4.1.10098.1.2.1.40.13 NAME 'FAItemplate' - SUP FAIclass STRUCTURAL - DESC 'Container for template objects' ) + SUP top AUXILIARY + DESC 'Container for template objects' + MUST ( cn ) MAY ( FAIstate $ description ) ) # Name : FAItemplateEntry # Description: Stores FAI templates and the corresponding path. objectclass (1.3.6.1.4.1.10098.1.2.1.40.14 NAME 'FAItemplateEntry' - SUP FAItemplate STRUCTURAL + SUP top AUXILIARY DESC 'Stores real file templates' - MUST ( FAItemplateFile $ FAItemplatePath $ FAIowner $ FAImode ) ) + MUST ( cn $ FAItemplateFile $ FAItemplatePath $ FAIowner $ FAImode ) + MAY ( FAIstate $ description ) ) # Name : FAIdebconfInfo # Description: Stores debconf information like shown in @@ -407,20 +434,41 @@ objectclass (1.3.6.1.4.1.10098.1.2.1.40.14 NAME 'FAItemplateEntry' objectclass (1.3.6.1.4.1.10098.1.2.1.40.15 NAME 'FAIdebconfInfo' SUP top STRUCTURAL DESC 'Stores debconf informations for single packages' - MUST ( FAIpackage $ FAIvariable $ FAIvariableType ) MAY ( FAIvariableContent ) ) + MUST ( FAIpackage $ FAIvariable $ FAIvariableType ) MAY ( FAIvariableContent $ FAIstate ) ) # Name : FAIobject # Description: Marks objects to have a set of FAI classes. objectclass (1.3.6.1.4.1.10098.1.2.1.40.16 NAME 'FAIobject' SUP top AUXILIARY DESC 'Marks an object as an FAI object.' - MUST ( FAIclass $ macAddress ) MAY ( FAIstatus ) ) + MAY ( FAIstate $ FAIstatus $ FAIclass $ FAIdebianMirror $ macAddress) ) # Name : FAIrepository # Description: Marks objects to have a set of FAI classes. objectclass (1.3.6.1.4.1.10098.1.2.1.40.17 NAME 'FAIrepository' SUP top AUXILIARY DESC 'Provides per object repository informations.' - MUST ( FAIdebianMirror $ FAIdebianRelease $ FAIdebianSection ) ) + MUST ( FAIdebianRelease $ FAIdebianSection ) MAY ( FAIdebianMirror ) ) + +# Name : FAIrepositoryServer +# Description: FAIrepositoryServer stores information about repository settings. +objectclass (1.3.6.1.4.1.10098.1.2.1.40.18 NAME 'FAIrepositoryServer' + SUP top AUXILIARY + DESC 'Provides repository informations.' + MAY ( FAIrepository ) ) + +# Name : FAIbranch +# Description: FAIbranch stores information about the state of a set of FAI classes. +objectclass (1.3.6.1.4.1.10098.1.2.1.40.19 NAME 'FAIbranch' + SUP top AUXILIARY + DESC 'Provides information for versioning.' + MAY ( FAIstate ) ) + +# Name : FAIreleaseTag +# Description: FAIreleaseTag stores information about the fai release of an object. +objectclass (1.3.6.1.4.1.10098.1.2.1.40.20 NAME 'FAIreleaseTag' + SUP top AUXILIARY + DESC 'Provides information for versioning.' + MAY ( FAIrelease ) ) ### END of FAI schema file