make workgroup explicit

This commit is contained in:
Robin Appelman 2018-03-29 17:20:08 +02:00
commit bdda31975d
8 changed files with 16 additions and 21 deletions

View file

@ -26,7 +26,7 @@ use Icewind\SMB\BasicAuth;
require('vendor/autoload.php');
$serverFactory = new ServerFactory();
$auth = new BasicAuth('workgroup\test', 'test');
$auth = new BasicAuth('test', 'workgroup', 'test');
$server = $serverFactory->createServer('localhost', $auth);
$share = $server->getShare('test');