From 85993e1e59d7a19b66d9127477d3e1242016d2b2 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 Jun 2009 13:37:31 +0000 Subject: [PATCH] Updated the rename7copy function of the plugin class. -It now supports encrypted passwords. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13821 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 13a99228a..f0408cc51 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -803,7 +803,8 @@ class plugin ldap_set_rebind_proc($ds, array(&$this, "rebind")); } - $r=ldap_bind($ds,$this->config->current['ADMINDN'], $this->config->current['ADMINPASSWORD']); + $pwd = $this->config->get_credentials($this->config->current['ADMINPASSWORD']); + $r=ldap_bind($ds,$this->config->current['ADMINDN'], $pwd); $sr=ldap_read($ds, LDAP::fix($src_dn), "objectClass=*"); /* Fill data from LDAP */ -- 2.30.2