Code

Same for trunk
[gosa.git] / contrib / openldap / goserver.schema
index 8e917854d9119aaf4f0140885868dbb16875ac51..32249739a442c108849db8fc717991598ef4eee4 100644 (file)
@@ -377,6 +377,84 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.9.67 NAME 'saStatus'
        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)
+
+attributetype ( 1.3.6.1.4.1.10098.1.1.9.79 NAME 'goLogDB'
+       DESC 'Name of logging DB'
+       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.80 NAME 'goLogDBUser'
+       DESC 'Auth user for logging DB'
+       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.81 NAME 'goLogDBPassword'
+       DESC 'Password for logging DB user'
+       EQUALITY caseExactIA5Match
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
+       SINGLE-VALUE)
+
 
 ##
 ##             Objectclasses
@@ -447,7 +525,7 @@ objectclass (1.3.6.1.4.1.10098.1.2.1.27 NAME 'goServer' SUP top AUXILIARY
 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 )
-       MAY      ( goLogDBServerStatus ))
+       MAY  ( goLogDBServerStatus ))
 
 # Fon Server description
 objectclass (1.3.6.1.4.1.10098.1.2.1.29 NAME 'goFonServer' SUP top AUXILIARY
@@ -479,9 +557,20 @@ objectclass (1.3.6.1.4.1.10098.1.2.1.37 NAME 'goGlpiServer' SUP top AUXILIARY
 
 # Spamassassin definitions
 objectclass (1.3.6.1.4.1.10098.1.2.1.38 NAME 'goSpamServer' SUP top AUXILIARY
-       DESC 'Glpi server definition (v2.5)'
+       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 ) )
 
+# LogDB Server description
+objectclass (1.3.6.1.4.1.10098.1.2.1.40 NAME 'gosaLogServer' SUP top AUXILIARY
+       DESC 'GOsa log server (v2.6)'
+       MUST ( cn $ goLogDB $ goLogDBUser $ goLogDBPassword ))