summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9f2273)
raw | patch | inline | side by side (parent: c9f2273)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Sep 2008 11:43:05 +0000 (11:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Sep 2008 11:43:05 +0000 (11:43 +0000) |
-Prepared config to support logging DB name.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12422 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12422 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_config.inc | patch | blob | history |
index 9b789f7d304de1b0e285d3597b3bd0c2ea8c11a2..ddc26fcf35dd01229e1386554c784406d2402f1f 100644 (file)
$ldap->search ("(objectClass=goLogDBServer)");
if ($ldap->count()){
$attrs= $ldap->fetch();
+ if(!isset($attrs['goLogDB'][0])){
+ $attrs['goLogDB'][0] = "gomon";
+ }
$this->data['SERVERS']['LOG']= array( 'SERVER' => $attrs['cn'][0],
'LOGIN' => $attrs['goLogAdmin'][0],
+ 'DB' => $attrs['goLogDB'][0],
'PASSWORD' => $attrs['goLogPassword'][0]);
}