samba_backup: fix error handling, back up tdb files properly

github at github at
Thu Dec 13 07:57:59 UTC 2018

New comment by abartlet on Samba Github repository
Thanks for trying to improve our locking here.  It certainly did need work. 

Samba 4.9 includes an overhauled backup tool that correctly backs up all TDB and LDB files and obtains the correct locks while doing so, which the old script, even with this patch, couldn't do. 

See ```samba-tool domain backup```

More information about the samba-technical mailing list