Skip to content

Commit 3b06887

Browse files
Merge pull request #100 from melvin-suter/fix_login_error
Fixed SMB Login Issues
2 parents e393d5e + b1032c5 commit 3b06887

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)