summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24f3bef)
raw | patch | inline | side by side (parent: 24f3bef)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Jun 2009 13:37:31 +0000 (13:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Jun 2009 13:37:31 +0000 (13:37 +0000) |
-It now supports encrypted passwords.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13821 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13821 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index 13a99228a1fc7a3b7e3718c4a084d45b789bbd39..f0408cc51705fa31ab797125ecc1d696bce70239 100644 (file)
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 */