summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2cff8ee)
raw | patch | inline | side by side (parent: 2cff8ee)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 09:50:29 +0000 (09:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 09:50:29 +0000 (09:50 +0000) |
-Fixed ldap object initialization for ldap admin propose dialog
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12652 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12652 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/setup/class_setupStep_Ldap.inc | patch | blob | history |
index 006a1e83a454d1b69f34a4ff5bd4ea79b3d590c7..8b9ed80c677c027547ed2fe54847d57e322dff23 100644 (file)
function resolve_user()
{
$filter = $this->resolve_filter;
- $ldap = new LDAP("","",$this->connection);
+
+ /* Establish ldap connection */
+ $cv = $this->parent->captured_values;
+ $ldap_l = new LDAP("","",$this->connection, FALSE, $this->tls);
+ $ldap = new ldapMultiplexer($ldap_l);
$ldap->cd($this->base);
$ldap->search("(&(objectClass=person)(|(uid=".$filter.")(cn=".$filter.")))");
$tmp = array();