after backuppc server upgrade from hardy to intrepid, windows backups all fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backuppc (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
I upgraded our backup server running backuppc 8.04 to 8.10 using the recommended ubuntu method.
After upgrade all rsync, rsyncd backups still work however all smb backups of our windows pcs/server fail with the following error message:
"File /var/lib/
Contents of file /var/lib/
Running: /usr/bin/smbclient \\\\zaj-
incr backup started back to 2008-10-07 17:00:00 (backup #160) for share C$
Xfer PIDs are now 17926,17925
[ skipped 1 lines ]
Anonymous login successful
[ skipped 1 lines ]
tree connect failed: NT_STATUS_
Anonymous login successful
[ skipped 1 lines ]
tree connect failed: NT_STATUS_
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (tree connect failed: NT_STATUS_
Backup aborted (tree connect failed: NT_STATUS_
It looks like the samba portion of 8.10 on backuppc is no longer passing the password correctly and instead attempts to login remotely.
If I manually run "usr/bin/smbclient \\\\zaj-
Also this if I login via konqueror from this same server it logs in succesfully.
Any idea - this is obviously a rather serious bug.
Ok - here is the fix/problem for this:
The new version has the new smbclient package.
backuppc(both versions shipped with 8.04 and 8.10) by default backs up smb pcs using /usr/bin/smbclient -N for INCR FULL and Restore commands.
The new smbclient package if you use the -N switch it does not pass the password through hence the backups fail.
Looks like that change from the old smbclient to the new one.
FIX:
Either smbclient package needs to be changed (that -N passes the password command still) or the default config.pl file shipped with the latest backuppc on intrepid needs to be modified and the -N of smbclient portion removed.
Its a simple fix, can some develop fix this so backuppc actually works in 8.10?