make authfile handling compatible with smbclient 4.6.x

This commit is contained in:
Robin Appelman 2017-08-17 16:00:22 +02:00
commit 6723c97de1
3 changed files with 44 additions and 31 deletions

View file

@ -134,6 +134,7 @@ class Server {
);
$connection = new RawConnection($command);
$connection->writeAuthentication($this->getUser(), $this->getPassword());
$connection->connect();
$output = $connection->readAll();
$parser = new Parser($this->timezoneProvider);