From 0c949b4e16e5e2328c4e7cb6f7dab28ef2d91f8a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 15 May 2007 07:47:23 +0000 Subject: [PATCH] Reverted config changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6378 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_config.inc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/class_config.inc b/include/class_config.inc index 7ef00cb6c..762c6e0f9 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -420,16 +420,14 @@ class config { 'PASSWORD' => $attrs['goGlpiPassword'][0], 'DB' => $attrs['goGlpiDatabase'][0]); } - /* Get logdb server */ $ldap->cd ($this->current['BASE']); - $ldap->search ("(objectClass=goLogDBServer)",array("cn","goLogDBServerUser","goLogDBServerPassword","goLogDB")); + $ldap->search ("(objectClass=goLogDBServer)"); if ($ldap->count()){ $attrs= $ldap->fetch(); - $this->data['SERVERS']['LOGGING'][$attrs['cn'][0]]= - array('USER' => $attrs['goLogDBServerUser'][0], - 'PWD' => $attrs['goLogDBServerPassword'][0], - 'DB' => $attrs['goLogDB'][0]); + $this->data['SERVERS']['LOG']= array( 'SERVER' => $attrs['cn'][0], + 'LOGIN' => $attrs['goLogAdmin'][0], + 'PASSWORD' => $attrs['goLogPassword'][0]); } /* Get NFS server lists */ -- 2.30.2