Code

Updated syslog service.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Jun 2009 13:38:37 +0000 (13:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 19 Jun 2009 13:38:37 +0000 (13:38 +0000)
-Fixed problem with hard coded 'gomon' database.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13745 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index 667cc1abf79479fa3ddb39fdf75101eac8e202c4..65a2b460d3e969d99e11ea2f13f10c5b8ba7c5a0 100644 (file)
@@ -522,12 +522,12 @@ class config  {
     $ldap->search ("(objectClass=goLogDBServer)");
     if ($ldap->count()){
       $attrs= $ldap->fetch();
-      if(!isset($attrs['goLogDB'][0])){
-        $attrs['goLogDB'][0] = "gomon";
+      if(!isset($attrs['gosaLogDB'][0])){
+        $attrs['gosaLogDB'][0] = "gomon";
       }
       $this->data['SERVERS']['LOG']= array( 'SERVER' => $attrs['cn'][0],
           'LOGIN' => $attrs['goLogAdmin'][0],
-          'DB' => $attrs['goLogDB'][0],
+          'DB' => $attrs['gosaLogDB'][0],
           'PASSWORD' => $attrs['goLogPassword'][0]);
     }