X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fopenldap%2Fgoserver.schema;h=b3775515ca0c21f8ec055eecde24cf5fa1f27397;hb=d19951368818be49917a0f08ddfc45e87923dabe;hp=8bf9d4128a635cac1adc36a0a393ce7efb4892c5;hpb=bdac3aa4c4a3750f4bc2152e22fb72cadecf7999;p=gosa.git diff --git a/contrib/openldap/goserver.schema b/contrib/openldap/goserver.schema index 8bf9d4128..b3775515c 100644 --- a/contrib/openldap/goserver.schema +++ b/contrib/openldap/goserver.schema @@ -25,8 +25,8 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.9.2 NAME 'goFontPath' # Attributes for common Gonicus Server Class attributetype ( 1.3.6.1.4.1.10098.1.1.9.4 NAME 'goExportEntry' DESC 'Provides an export entry' - EQUALITY caseExactIA5Match - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( 1.3.6.1.4.1.10098.1.1.9.9 NAME 'goSyslogSection' DESC 'What sections wants the server for its syslog service? i.e. *.*' @@ -45,8 +45,8 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.9.11 NAME 'goSpoolPath' attributetype ( 1.3.6.1.4.1.10098.1.1.9.12 NAME 'goLdapBase' DESC 'Base to use for this LDAP server' - EQUALITY caseExactIA5Match - SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + EQUALITY caseExactMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE) attributetype ( 1.3.6.1.4.1.10098.1.1.9.13 NAME 'goImapName' @@ -168,6 +168,275 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.9.32 NAME 'goGlpiDatabase' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.33 NAME 'goTerminalServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.34 NAME 'goNfsServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.35 NAME 'goNtpServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.36 NAME 'goSyslogServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.37 NAME 'goLdapServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.38 NAME 'goImapServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.39 NAME 'goKrbServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.40 NAME 'goFaxServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.41 NAME 'goLogDBServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.42 NAME 'goFonServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.43 NAME 'goShareServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.44 NAME 'goMailServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.45 NAME 'goGlpiServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.46 NAME 'postfixHeaderSizeLimit' + DESC 'Keep postfix header-size-limit variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.47 NAME 'postfixMailboxSizeLimit' + DESC 'Keep postfix mailbox-size-limit variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.48 NAME 'postfixMessageSizeLimit' + DESC 'Keep postfix message-size-limit variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.49 NAME 'postfixMyDestinations' + DESC 'Keep postfix mydestinations variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.50 NAME 'postfixMyDomain' + DESC 'Keep postfix mydomain variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.51 NAME 'postfixMyHostname' + DESC 'Keep postfix myhostname variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.52 NAME 'postfixMyNetworks' + DESC 'Keep postfix mynetworks variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.53 NAME 'postfixRelayhost' + DESC 'Keep postfix relayhost variable' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.54 NAME 'postfixTransportTable' + DESC 'Keep postfix transport tables' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.55 NAME 'postfixSenderRestrictions' + DESC 'Keep postfix sender restrictions' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.56 NAME 'postfixRecipientRestrictions' + DESC 'Keep postfix transport tables' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.57 NAME 'cyrusImap' + DESC 'Start IMAP service? true/false' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.58 NAME 'cyrusImapSSL' + DESC 'Start IMAP SSL service? true/false' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.59 NAME 'cyrusPop3' + DESC 'Start POP3 service? true/false' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.60 NAME 'cyrusPop3SSL' + DESC 'Start POP3 SSL service? true/false' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.61 NAME 'goCupsServerStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.62 NAME 'saRewriteHeader' + DESC 'Text to place in front of mail subjects' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.63 NAME 'saTrustedNetworks' + DESC 'List of trusted networks' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.64 NAME 'saRequiredScore' + DESC 'Required score to tag a mail as SPAM' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE) + +#saFlags B: Enable use of bayes filtering +# b: Enable bayes auto learning +# C: Enable RBL checks +# R: Enable use of Razor +# D: Enable use of DDC +# P: Enable use of Pyzor +attributetype ( 1.3.6.1.4.1.10098.1.1.9.65 NAME 'saFlags' + DESC 'Flags for spamassassin' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.66 NAME 'saRule' + DESC 'Base64 encoded rule text for spamassassin' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.67 NAME 'saStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.68 NAME 'avMaxThreads' + DESC 'Number of AV scanning threads' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.69 NAME 'avMaxDirectoryRecursions' + DESC 'Number of recursions done with directories' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.70 NAME 'avUser' + DESC 'Username to run with' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + +# avFlags D Debug +# S Scan Mail +# A Scan Archive +# E Archive block encrypted +attributetype ( 1.3.6.1.4.1.10098.1.1.9.71 NAME 'avFlags' + DESC 'Special flags for the scan engine' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.72 NAME 'avArchiveMaxFileSize' + DESC 'Maximum archive file size' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.73 NAME 'avArchiveMaxRecursion' + DESC 'Maximum number of archive nestings' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.74 NAME 'avArchiveMaxCompressionRatio' + DESC 'Maximum compression ratio' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.75 NAME 'avDatabaseMirror' + DESC 'Where to find updates' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.76 NAME 'avHttpProxyURL' + DESC 'How to get the updates' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.77 NAME 'avStatus' + DESC 'Server status container - on / off / fail' + EQUALITY caseExactIA5Match + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE) + +attributetype ( 1.3.6.1.4.1.10098.1.1.9.78 NAME 'avChecksPerDay' + DESC 'Update checks per day' + EQUALITY integerMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE) + ## ## Objectclasses ## @@ -176,58 +445,59 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.9.32 NAME 'goGlpiDatabase' objectclass (1.3.6.1.4.1.10098.1.2.1.16 NAME 'goTerminalServer' SUP top AUXILIARY DESC 'Terminal server description (v2.4)' MUST ( cn $ goXdmcpIsEnabled $ goFontPath ) - MAY ( description )) + MAY ( description $ goTerminalServerStatus )) # NFS Server description objectclass (1.3.6.1.4.1.10098.1.2.1.19 NAME 'goNfsServer' SUP top AUXILIARY DESC 'NFS server description (v2.4)' MUST ( cn ) - MAY ( goExportEntry $ description )) + MAY ( goExportEntry $ description $ goNfsServerStatus )) # Time Server description objectclass (1.3.6.1.4.1.10098.1.2.1.20 NAME 'goNtpServer' SUP top AUXILIARY DESC 'Time server description (v2.4)' MUST ( cn ) - MAY ( goTimeSource $ description )) + MAY ( goTimeSource $ description $ goNtpServerStatus )) # Syslog Server description objectclass (1.3.6.1.4.1.10098.1.2.1.21 NAME 'goSyslogServer' SUP top AUXILIARY DESC 'Syslog server description (v2.4)' MUST ( cn ) - MAY ( goSyslogSection $ description )) + MAY ( goSyslogSection $ description $ goSyslogServerStatus )) # LDAP Server description objectclass (1.3.6.1.4.1.10098.1.2.1.22 NAME 'goLdapServer' SUP top AUXILIARY DESC 'LDAP server description (v2.4)' MUST ( cn ) - MAY ( goLdapBase $ description )) + MAY ( goLdapBase $ description $ goLdapServerStatus )) # CUPS Server description objectclass (1.3.6.1.4.1.10098.1.2.1.23 NAME 'goCupsServer' SUP top AUXILIARY DESC 'CUPS server description (v2.4)' MUST ( cn ) - MAY ( description )) + MAY ( description $ goCupsServerStatus )) # IMAP Server description objectclass (1.3.6.1.4.1.10098.1.2.1.24 NAME 'goImapServer' SUP top AUXILIARY DESC 'IMAP server description (v2.4)' MUST ( cn $ goImapName $ goImapConnect $ goImapAdmin $ goImapPassword ) - MAY ( goImapSieveServer $ goImapSievePort $ description )) + MAY ( goImapSieveServer $ goImapSievePort $ description $ goImapServerStatus $ + cyrusImap $ cyrusImapSSL $ cyrusPop3 $ cyrusPop3SSL )) # Kerberos Server description objectclass (1.3.6.1.4.1.10098.1.2.1.25 NAME 'goKrbServer' SUP top AUXILIARY DESC 'Kerberos server description (v2.4)' MUST ( cn $ goKrbRealm $ goKrbAdmin $ goKrbPassword ) - MAY ( description )) + MAY ( description $ goKrbServerStatus )) # Fax Server description objectclass (1.3.6.1.4.1.10098.1.2.1.26 NAME 'goFaxServer' SUP top AUXILIARY DESC 'Fax server description (v2.4)' MUST ( cn $ goFaxAdmin $ goFaxPassword ) - MAY ( description )) + MAY ( description $ goFaxServerStatus )) # Common server class -objectclass (1.3.6.1.4.1.10098.1.2.1.27 NAME 'goServer' SUP top STRUCTURAL +objectclass (1.3.6.1.4.1.10098.1.2.1.27 NAME 'goServer' SUP top AUXILIARY DESC 'Server description (v2.4)' MUST ( cn ) MAY ( description $ macAddress $ ipHostNumber )) @@ -235,28 +505,49 @@ objectclass (1.3.6.1.4.1.10098.1.2.1.27 NAME 'goServer' SUP top STRUCTURAL # LogDB Server description objectclass (1.3.6.1.4.1.10098.1.2.1.28 NAME 'goLogDBServer' SUP top AUXILIARY DESC 'Log DB server description (v2.4)' - MUST ( cn $ goLogAdmin $ goLogPassword )) + MUST ( cn $ goLogAdmin $ goLogPassword ) + MAY ( goLogDBServerStatus )) # Fon Server description objectclass (1.3.6.1.4.1.10098.1.2.1.29 NAME 'goFonServer' SUP top AUXILIARY DESC 'Fon server description (v2.4)' MUST ( cn $ goFonAdmin $ goFonPassword $ goFonAreaCode $ goFonCountryCode ) - MAY ( description )) + MAY ( description $ goFonServerStatus )) # Share Server description objectclass (1.3.6.1.4.1.10098.1.2.1.33 NAME 'goShareServer' SUP top AUXILIARY DESC 'Share server description (v2.4)' MUST ( cn ) - MAY ( description $ goExportEntry )) + MAY ( description $ goExportEntry $ goShareServerStatus )) -# Share Server description +# Mail Server description objectclass (1.3.6.1.4.1.10098.1.2.1.36 NAME 'goMailServer' SUP top AUXILIARY DESC 'Mail server definition (v2.4)' MUST ( cn ) - MAY ( description ) ) + MAY ( description $ goMailServerStatus $ postfixHeaderSizeLimit $ + postfixMailboxSizeLimit $ postfixMessageSizeLimit $ + postfixMydestinations $ postfixMydomain $ postfixMyhostname $ + postfixMynetworks $ postfixRelayhost $ postfixTransportTable $ + postfixSenderRestrictions $ postfixRecipientRestrictions ) ) # Glpi Server description objectclass (1.3.6.1.4.1.10098.1.2.1.37 NAME 'goGlpiServer' SUP top AUXILIARY DESC 'Glpi server definition (v2.4)' MUST ( cn $ goGlpiAdmin $ goGlpiDatabase) - MAY ( description $ goGlpiPassword) ) + MAY ( description $ goGlpiPassword $ goGlpiServerStatus ) ) + +# Spamassassin definitions +objectclass (1.3.6.1.4.1.10098.1.2.1.38 NAME 'goSpamServer' SUP top AUXILIARY + DESC 'Spam server definition (v2.5)' + MUST ( cn ) + MAY ( saRewriteHeader $ saTrustedNetworks $ saRequiredScore $ saFlags $ + saRule $ saStatus ) ) + +# Clamav definitions +objectclass (1.3.6.1.4.1.10098.1.2.1.39 NAME 'goVirusServer' SUP top AUXILIARY + DESC 'Virus server definition (v2.5)' + MUST ( cn ) + MAY ( avMaxThreads $ avMaxDirectoryRecursions $ avUser $ avFlags $ + avArchiveMaxFileSize $ avArchiveMaxRecursion $ avArchiveMaxCompressionRatio $ + avDatabaseMirror $ avChecksPerDay $ avHttpProxyURL ) ) +