From: hickert Date: Fri, 19 Jun 2009 13:38:37 +0000 (+0000) Subject: Updated syslog service. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5dc9785e3f1f4b0fd1222a5e0d431616ad78b869;p=gosa.git Updated syslog service. -Fixed problem with hard coded 'gomon' database. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13745 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 667cc1abf..65a2b460d 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -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]); }