s4-provision: Do not guess partition file names, use @PARTITION record
authorAmitay Isaacs <amitay@gmail.com>
Sun, 11 Dec 2011 23:53:55 +0000 (10:53 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 13 Dec 2011 02:28:03 +0000 (03:28 +0100)
commit21424056bb4ad914871b009aee3a7567a3efdec0
tree62551d1fe64d18b7e42b99ac59434b3245e3cccb
parent7f50890cd67fed69b049bde5328c4f662bab1806
s4-provision: Do not guess partition file names, use @PARTITION record

This is to avoid duplicating the logic of generating partition file
names. (partition file names are encoded partially as per RFC1738).

Also, use tdb_copy() instead of filesystem copy function to copy
database files, which guarantees correct database copy.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Dec 13 03:28:03 CET 2011 on sn-devel-104
source4/scripting/python/samba/provision/sambadns.py