######################################################################## # LLazy Schema definition ######################################################################## # This file defines schema elements needed to store LLazy settings in # a LDAP directory. # See http://tranquilinux.org/ # ######################################################################## # OID Macros ######################################################################## # The base OID is: objectIdentifier llazyOID 1.3.6.1.4.1.19272.2 # ObjectClasses are defined in the following OID branch: objectIdentifier llazyObjectClassOID llazyOID:3 # Attributes are defined in the following OID branch: objectIdentifier llazyAttributOID llazyOID:4 # Syntax macros objectIdentifier baseSyntaxes 1.3.6.1.4.1.1466.115.121.1 objectIdentifier boolean baseSyntaxes:7 objectIdentifier IA5String baseSyntaxes:26 objectIdentifier integer baseSyntaxes:27 # Matching Rule macros objectIdentifier caseExactIA5Match 1.3.6.1.4.1.1466.109.114.1 objectIdentifier integerMatch 2.5.13.14 objectIdentifier booleanMatch 2.5.13.13 ######################################################################## # Attributs definition ######################################################################## attributetype ( llazyAttributOID:1 NAME 'displayOrder' DESC 'Integer who determine the display order' EQUALITY integerMatch SYNTAX integer SINGLE-VALUE ) attributetype ( llazyAttributOID:2 NAME 'displayWidget' DESC 'The type of the displayed widget' EQUALITY booleanMatch SYNTAX boolean SINGLE-VALUE ) attributetype ( llazyAttributOID:3 NAME 'readonlyWidget' DESC 'True if widget is not writable' EQUALITY booleanMatch SYNTAX boolean SINGLE-VALUE ) attributetype ( llazyAttributOID:4 NAME 'requireObjectClass' DESC 'The LDAP objectClass required by the module' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:5 NAME 'relatedAttribut' DESC 'The LDAP attribut related by the widget' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:6 NAME 'adminModule' DESC 'The name of the administration module' EQUALITY caseExactIA5Match SYNTAX IA5String SINGLE-VALUE ) attributetype ( llazyAttributOID:7 NAME 'widgetValidator' DESC 'The name of the widget validator' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:8 NAME 'widgetType' DESC 'The name of the widget type' EQUALITY caseExactIA5Match SYNTAX IA5String SINGLE-VALUE ) attributetype ( llazyAttributOID:9 NAME 'widgetName' DESC 'The name of the widget type' EQUALITY caseExactIA5Match SYNTAX IA5String SINGLE-VALUE ) attributetype ( llazyAttributOID:10 NAME 'optionalParam' DESC 'Widget optional parameter' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:11 NAME 'action' DESC 'The function called by action' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:12 NAME 'orientation' DESC 'The orientation of a widget' EQUALITY caseExactIA5Match SYNTAX IA5String SINGLE-VALUE ) attributetype ( llazyAttributOID:13 NAME 'relatedFunction' DESC 'If an widget have an relatedFuntion attribut, widget is fill by relatedFunction' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:14 NAME 'text' DESC 'Text associated to a widget' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:15 NAME 'controler' DESC 'The controler attached to the widget' EQUALITY caseExactIA5Match SYNTAX IA5String ) attributetype ( llazyAttributOID:16 NAME 'extraWidgetType' DESC 'The name of the extraWidget type' EQUALITY caseExactIA5Match SYNTAX IA5String ) ######################################################################## # objectClass definition ######################################################################## objectClass ( llazyObjectClassOID:1 NAME 'llazyModule' DESC 'Contain the description of an LLazy administration module' AUXILIARY MUST ( adminModule ) ) objectClass ( llazyObjectClassOID:2 NAME 'llazyModuleConfig' DESC 'Contain config options for a LLazy administration module' AUXILIARY MUST ( optionalParam ) ) ObjectClass ( llazyObjectClassOID:3 NAME 'llazyWidget' DESC 'Contain all param for an LDAP attribut diplayed in an information block' AUXILIARY MUST ( displayOrder ) MAY ( relatedFunction $ text $ orientation $ action $ displayWidget $ readonlyWidget $ requireObjectClass $ relatedAttribut $ widgetValidator $ widgetType $ optionalParam $ controler $ extraWidgetType) )