From: Juan Pablo Villafáñez Date: Tue, 25 Oct 2016 07:19:24 +0000 (+0200) Subject: Add prefix to the connection X-Git-Tag: v11.0RC2~347^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1935%2Fhead;p=nextcloud-server.git Add prefix to the connection Signed-off-by: Arthur Schiwon --- diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index 826f94f0003..5d994f40dcb 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -46,7 +46,7 @@ $prefix = (string)$_POST['ldap_serverconfig_chooser']; $ldapWrapper = new \OCA\User_LDAP\LDAP(); $configuration = new \OCA\User_LDAP\Configuration($prefix); -$con = new \OCA\User_LDAP\Connection($ldapWrapper, '', null); +$con = new \OCA\User_LDAP\Connection($ldapWrapper, $prefix, null); $con->setConfiguration($configuration->getConfiguration()); $con->ldapConfigurationActive = true; $con->setIgnoreValidation(true);