gpo: During restore clobber GPT.INI with a blank version
authorGarming Sam <garming@catalyst.net.nz>
Tue, 26 Feb 2019 04:01:19 +0000 (17:01 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 12 Mar 2019 00:42:20 +0000 (00:42 +0000)
commit52e0160116c39ac0b4759851bcbacd561bd26c0b
tree1bdd0b6d2c4914fef910dc07d4e5366ff010e7cc
parent75cf728398421435186559306b0962c70f333c6e
gpo: During restore clobber GPT.INI with a blank version

Generally speaking, there is not much value to keeping this file. The
display name does not ever seem to be used and the version only applies
to the original domain or DC it was on. The command line option to
revert this behaviour is mostly for the tests or for having a straight
1:1 backup-restore for pure restoration.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13806

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/gpo.py
python/samba/tests/samba_tool/gpo.py