[PATCH] use tdbbackup, not shutil.copy, skip 'upgrade' of privileges.ldb

Andrew Bartlett abartlet at samba.org
Sun Feb 17 01:09:07 MST 2013


This series of patches (in on and top of my upgradeprovision branch)
makes an important fix to the upgrade code, because calling shutil.copy
is NOT A SAFE WAY to deal with tdb (indeed any) databases.

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-scripting-Make-tdb_copy-use-the-python-subprocess-mo.patch
Type: text/x-patch
Size: 2558 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130217/f3aca2df/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-scripting-Make-tdb_copy-a-common-util-function-in-sa.patch
Type: text/x-patch
Size: 4503 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130217/f3aca2df/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-samba_upgradeprovision-Do-not-update-privileges.ldb-.patch
Type: text/x-patch
Size: 2911 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130217/f3aca2df/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-samba_upgradeprovision-Use-tdb_util.tdb_copy-not-shu.patch
Type: text/x-patch
Size: 4267 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130217/f3aca2df/attachment-0003.bin>


More information about the samba-technical mailing list