mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
gpo: samba-gpupdate use s3 param for registry conf
Cause samba-gpupdate to use an s3 param so that it can load settings from registry configuration. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 22 20:40:51 UTC 2022 on sn-devel-184
This commit is contained in:
committed by
Jeremy Allison
parent
30c40046ef
commit
b4d7540bb4
@@ -93,6 +93,15 @@ class SambaOptions(optparse.OptionGroup):
|
||||
return self._lp
|
||||
|
||||
|
||||
class Samba3Options(SambaOptions):
|
||||
"""General Samba-related command line options with an s3 param."""
|
||||
|
||||
def __init__(self, parser):
|
||||
SambaOptions.__init__(self, parser)
|
||||
from samba.samba3 import param as s3param
|
||||
self._lp = s3param.get_context()
|
||||
|
||||
|
||||
class VersionOptions(optparse.OptionGroup):
|
||||
"""Command line option for printing Samba version."""
|
||||
def __init__(self, parser):
|
||||
|
||||
Reference in New Issue
Block a user