From 1937e58ec02cfdec73663780ac90a37ed9bdedde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Pablo=20Villaf=C3=A1=C3=B1ez?= Date: Tue, 25 Oct 2016 09:19:24 +0200 Subject: [PATCH] Add prefix to the connection Signed-off-by: Arthur Schiwon --- apps/user_ldap/ajax/wizard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index 826f94f000..5d994f40dc 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);