summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10dd677)
raw | patch | inline | side by side (parent: 10dd677)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 May 2007 07:47:23 +0000 (07:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 May 2007 07:47:23 +0000 (07:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6378 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 7ef00cb6c44ed0147f48022ff48ab5fd674ce3c4..762c6e0f91510fe01dc74e672eddb143d97d8df6 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
'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 */