summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8cd716)
raw | patch | inline | side by side (parent: e8cd716)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 May 2007 12:17:28 +0000 (12:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 May 2007 12:17:28 +0000 (12:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6369 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 5f3d8ceb56b0c281fe144fbd073d6a04109b6c5d..7ef00cb6c44ed0147f48022ff48ab5fd674ce3c4 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
/* Get logdb server */
$ldap->cd ($this->current['BASE']);
- $ldap->search ("(objectClass=goLogDBServer)");
+ $ldap->search ("(objectClass=goLogDBServer)",array("cn","goLogDBServerUser","goLogDBServerPassword","goLogDB"));
if ($ldap->count()){
$attrs= $ldap->fetch();
- $this->data['SERVERS']['LOG']= array( 'SERVER' => $attrs['cn'][0],
- 'LOGIN' => $attrs['goLogAdmin'][0],
- 'PASSWORD' => $attrs['goLogPassword'][0]);
+ $this->data['SERVERS']['LOGGING'][$attrs['cn'][0]]=
+ array('USER' => $attrs['goLogDBServerUser'][0],
+ 'PWD' => $attrs['goLogDBServerPassword'][0],
+ 'DB' => $attrs['goLogDB'][0]);
}
- /* Logging databases */
- $this->data['SERVERS']['LOGGING']=
- array("testserver1" =>
- array(
- "SERVER" => "localhost",
- "USER" => "gosa_log",
- "PWD" => "tester",
- "DB" => "gosa_log"
- )
- );
-
-
-
-
/* Get NFS server lists */
$tmp= array("default");
$ldap->cd ($this->current['BASE']);