]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/CIFSPlugin.pm
rbd: get path: allow fake override of fsid in scfg for some regression tests
[pve-storage.git] / PVE / Storage / CIFSPlugin.pm
index a3f9ebedfc2383b2101c9aa4b032c073ee72c65d..982040acc99f73e6a4ec83b7d92a0bb248c97f20 100644 (file)
@@ -134,6 +134,7 @@ sub options {
        disable => { optional => 1 },
        maxfiles => { optional => 1 },
        'prune-backups' => { optional => 1 },
+       'max-protected-backups' => { optional => 1 },
        content => { optional => 1 },
        format => { optional => 1 },
        username => { optional => 1 },
@@ -280,7 +281,7 @@ sub check_connection {
 
     if (my $err = $@) {
        die "$out_str\n" if defined($out_str) &&
-           ($out_str =~ m/NT_STATUS_ACCESS_DENIED/);
+           ($out_str =~ m/NT_STATUS_(ACCESS_DENIED|LOGON_FAILURE)/);
        return 0;
     }