Skip to content

Commit d9e13db

Browse files
melvin-sutervioloncelloCH
authored andcommitted
Fixed Login error based on bad format in command
1 parent 316e57c commit d9e13db

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)