summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-10-31 09:27:09 +0100
committerGitHub <noreply@github.com>2016-10-31 09:27:09 +0100
commit85016977f4b0dc3463daa4ec94f3a88d57ecad81 (patch)
treeddc548fb1112ebba75bed09325c8dfaf2e73be8c /apps
parent230dca00653c10d5cc9674270ec8ddab2d851394 (diff)
parent1937e58ec02cfdec73663780ac90a37ed9bdedde (diff)
downloadnextcloud-server-85016977f4b0dc3463daa4ec94f3a88d57ecad81.tar.gz
nextcloud-server-85016977f4b0dc3463daa4ec94f3a88d57ecad81.zip
Merge pull request #1935 from nextcloud/downstream-ldap-26
Add prefix to the connection
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/ajax/wizard.php2
1 files changed, 1 insertions, 1 deletions
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);