summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a538ce9)
raw | patch | inline | side by side (parent: a538ce9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Dec 2005 10:07:46 +0000 (10:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Dec 2005 10:07:46 +0000 (10:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2376 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index a5eecb263c628b1a239c3c351578ebfcbf7c15b9..eeb9fea3faa4139c5be28b4f9c0a891c03659cb9 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
'QUEUE_TABLE' => "queues",
'QUEUE_MEMBER_TABLE' => "queue_members");
}
+
+ /* Get asterisk servers */
+ $ldap->cd ($this->current['BASE']);
+ $ldap->search ("(objectClass=goiGlpiServer)");
+ if ($ldap->count()){
+ $attrs= $ldap->fetch();
+ $this->data['SERVERS']['GLPI']= array(
+ 'SERVER' => $attrs['cn'][0],
+ 'LOGIN' => $attrs['goGlpiAdmin'][0],
+ 'PASSWORD' => $attrs['goGlpiPassword'][0],
+ 'DB' => $attrs['goGpliDatabase'][0]);
+ }
/* Get logdb server */
$ldap->cd ($this->current['BASE']);
$ldap->search ("(objectClass=goLogDBServer)");