From: cajus Date: Fri, 16 May 2008 10:09:42 +0000 (+0000) Subject: Adapted rebind for secret passwords X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9602fc50c766e002f4299dd81c57fa5790cb568c;p=gosa.git Adapted rebind for secret passwords git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10929 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 588a9e0be..471f89f37 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -753,7 +753,7 @@ class plugin function rebind($ldap, $referral) { $credentials= LDAP::get_credentials($referral, $this->config->current['REFERRAL']); - if (ldap_bind($ldap, $credentials['ADMIN'], $credentials['PASSWORD'])) { + if (ldap_bind($ldap, $credentials['ADMIN'], $this->config->get_credentials($credentials['PASSWORD']))) { $this->error = "Success"; $this->hascon=true; $this->reconnect= true;