they are not really bound to each other Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com> --- PVE/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 9ed8c07..e2a6fd0 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -1199,10 +1199,10 @@ sub scan_cifs { if (defined($user)) { die "password is required\n" if !defined($password); push @$cmd, '-U', "$user\%$password"; - push @$cmd, '-W', $domain if defined($domain); } else { push @$cmd, '-N'; } + push @$cmd, '-W', $domain if defined($domain); my $res = {}; my $err = ''; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel