From 9602fc50c766e002f4299dd81c57fa5790cb568c Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 16 May 2008 10:09:42 +0000 Subject: [PATCH] Adapted rebind for secret passwords git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10929 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2