https://bugzilla.novell.com/show_bug.cgi?id=755281 https://bugzilla.novell.com/show_bug.cgi?id=755281#c0 Summary: amsamba plugin fails with "WARNING: The security=share option is deprecated" when share mode security is used Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ccrssaa@karelia.ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Firefox/11.0 SeaMonkey/2.8 after workaround described in https://bugzilla.novell.com/show_bug.cgi?id=755278 Reproducible: Always Steps to Reproduce: 1. set up amanda system to back up some windows share with share mode security using amsamba plugin 2. run amcheck <config> <host> Actual Results:
amcheck <config> <host> Amanda Tape Server Host Check
Holding disk ...: ... kB disk space available, using ... kB found in slot ...: volume '...' slot ...: volume '...' Will write to volume '...' in slot ... NOTE: skipping tape-writable test Server check took 0.160 seconds Amanda Backup Client Hosts Check -------------------------------- ERROR: ...: smbclient: WARNING: The security=share option is deprecated Client check: 1 host checked in 1.356 seconds. 1 problem found. (brought to you by Amanda 3.3.0) Expected Results:
amcheck <config> <host> Amanda Tape Server Host Check
Holding disk ...: ... kB disk space available, using ... kB found in slot ..: volume '...' slot ...: volume '...' Will write to volume '...' in slot .... NOTE: skipping tape-writable test Server check took 0.160 seconds Amanda Backup Client Hosts Check -------------------------------- Client check: 1 host checked in 2.353 seconds. 0 problems found. (brought to you by Amanda 3.3.0) diff -u /usr/lib/amanda/application/amsamba.orig /usr/lib/amanda/application/amsamba --- /usr/lib/amanda/application/amsamba.orig 2012-04-02 16:14:12.000000000 +0400 +++ /usr/lib/amanda/application/amsamba 2012-04-02 19:10:13.000000000 +0400 @@ -414,6 +414,7 @@ next if /^Domain=/; # message if samba server is configured with 'security = share' next if /Server not using user level security and no password supplied./; + next if /WARNING: The security=share option is deprecated/; $self->print_to_server("smbclient: $_", $Amanda::Script_App::ERROR); } @@ -504,6 +505,7 @@ next if /dumped \d+ files and directories/; # message if samba server is configured with 'security = share' next if /Server not using user level security and no password supplied./; + next if /WARNING: The security=share option is deprecated/; debug("stderr: $_"); if ($_ =~ /^Total number of bytes: (\d*)/) { $size = $1; @@ -651,6 +653,7 @@ next if /dumped (\d+) files and directories/; # message if samba server is configured with 'security = share' next if /Server not using user level security and no password supplied./; + next if /WARNING: The security=share option is deprecated/; if (/^Total bytes written: (\d*)/) { $size = $1; } else { -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.