]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add prefix to the connection 1935/head
authorJuan Pablo Villafáñez <jvillafanez@solidgear.es>
Tue, 25 Oct 2016 07:19:24 +0000 (09:19 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 27 Oct 2016 11:08:09 +0000 (13:08 +0200)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/user_ldap/ajax/wizard.php

index 826f94f00031fc116517983141c9b21ebda7e870..5d994f40dcbdfd72622154b8df77a10733288b47 100644 (file)
@@ -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);