diff options
| author | David Mulder <dmulder@suse.com> | 2020-08-27 13:25:44 -0600 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2020-09-02 09:11:30 +0000 |
| commit | 11f97148bb57eecdb3e34e33901a4bb7a2dd7755 (patch) | |
| tree | c0ca285ef4b496aedc0b9ad06762225804169688 /python | |
| parent | dff01a5edf69b10e72c64ab63de1d4aeedb747ce (diff) | |
| download | samba-11f97148bb57eecdb3e34e33901a4bb7a2dd7755.tar.gz samba-11f97148bb57eecdb3e34e33901a4bb7a2dd7755.tar.bz2 samba-11f97148bb57eecdb3e34e33901a4bb7a2dd7755.zip | |
gpo: Pass necessary parameters to rsop
These parameters were missed by mistake when exts
were modified to be initialized within the rsop
command. Fixes an exception thrown when executing
samba-gpupdate --rsop:
Traceback (most recent call last):
File "/usr/sbin/samba-gpupdate", line 99, in <module>
rsop(lp, creds, gp_extensions, opts.target)
File "/usr/lib64/python3.8/site-packages/samba/gpclass.py", line 512, in rsop
ext = ext(logger, lp, creds, store)
NameError: name 'logger' is not defined
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/gpclass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/gpclass.py b/python/samba/gpclass.py index 243f917e201..8e9bfb9f0e3 100644 --- a/python/samba/gpclass.py +++ b/python/samba/gpclass.py @@ -497,7 +497,7 @@ def __rsop_vals(vals, level=4): else: return vals -def rsop(lp, creds, gp_extensions, target): +def rsop(lp, creds, logger, store, gp_extensions, target): dc_hostname = get_dc_hostname(creds, lp) gpos = get_gpo_list(dc_hostname, creds, lp) check_refresh_gpo_list(dc_hostname, lp, creds, gpos) |
