Skip to content

Commit b1032c5

Browse files
melvin-sutervioloncelloCH
authored andcommitted
Fixed Login error based on bad format in command
Signed-off-by: Melvin Suter <github@damon.ch>
1 parent e393d5e commit b1032c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/smb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct($host) {
3939
private function tryAuthentication($uid, $password) {
4040
$uidEscaped = escapeshellarg($uid);
4141
$password = escapeshellarg($password);
42-
$command = self::SMBCLIENT.' '.escapeshellarg('//' . $this->host . '/dummy').' -U'.$uidEscaped.'%'.$password;
42+
$command = self::SMBCLIENT.' '.escapeshellarg('//' . $this->host . '/dummy').' -U '.$uidEscaped.'%'.$password;
4343
$lastline = exec($command, $output, $retval);
4444
if ($retval === 127) {
4545
OC::$server->getLogger()->error(

0 commit comments

Comments
 (0)