gpo: Initialize gp_ext variables in constructor
authorDavid Mulder <dmulder@suse.com>
Wed, 16 May 2018 16:58:29 +0000 (10:58 -0600)
committerAurélien Aptel <aaptel@samba.org>
Mon, 8 Oct 2018 16:17:15 +0000 (18:17 +0200)
commit4354071b7a862e5e459b1be8bec9ec185e6a784f
tree7fde10409a7088976e09919197a812f594f763ee
parentf702ad943eb94d9d7964e8dec91a4708a43c81a3
gpo: Initialize gp_ext variables in constructor

Initialize variables for the gp_ext in the
constructor instead of passing them via the parse
function.
This is a dependency of the "gpo: Implement
process_group_policy() gp_ext func" patch, since
the parse() function is now called by the ext,
instead of by gpupdate within apply_gp(). The
parse() function should only take the path
variable, to simplify writing Client Side
Extensions.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
python/samba/gpclass.py
source4/scripting/bin/samba-gpupdate