diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-02-17 18:15:52 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-02-19 07:48:18 +0100 |
commit | 2cf83f7c645e4b216cf6f23857fd72ec0e6ca7a6 (patch) | |
tree | 4df530c67e111ee4982b08b4df1d1e9767d38ba6 /source3/smbd/smbXsrv_open.c | |
parent | 3c51e18a0cd1cb4b54cd29e312abd7cc2c0fbc98 (diff) | |
download | samba-2cf83f7c645e4b216cf6f23857fd72ec0e6ca7a6.tar.gz samba-2cf83f7c645e4b216cf6f23857fd72ec0e6ca7a6.tar.xz samba-2cf83f7c645e4b216cf6f23857fd72ec0e6ca7a6.zip |
samba_upgradeprovision: Use tdb_util.tdb_copy not shutil.copy2
This is really important, because copying a file will both ignore
locks held by another process and break any locks we hold (due to
POSIX brain-damage regarding multiple fds on one file in a process).
By leaving this to tdbbackup in a child, both of these issues are avoided.
Andrew Bartlett
Reviewed-by: Matthieu Patou <mat@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Feb 19 07:48:18 CET 2013 on sn-devel-104
Diffstat (limited to 'source3/smbd/smbXsrv_open.c')
0 files changed, 0 insertions, 0 deletions