[Samba] AD-DC samba_gpoupdate fails with exception

Rowland Penny rpenny at samba.org
Sun Jul 17 07:14:01 UTC 2022


On Sun, 2022-07-17 at 00:15 +0000, Thomas de la Tourette via samba
wrote:
> Samba 4.16.2
> samba-gpupdate --forceaborts with following truntime error:
> lpcfg_load: refreshing parameters from /etc/samba/smb.conf
> Processing section "[global]"
> Can't find include file registry
> pm_process() returned No
> Traceback (most recent call last):
>   File "/usr/bin/samba-gpupdate", line 77, in <module>
>     lp = sambaopts.get_loadparm()
>   File "/usr/lib/python3.10/site-packages/samba/getopt.py", line 92,
> in get_loadparm
>     self._lp.load_default()
> RuntimeError: Unable to load default file
> 
> It seems that the Python load module is not aware of Samba registry
> configuration and the required settings in smb.conf:include =
> registry.
> Are there any workarounds available?

Please post your smb.conf

Rowland





More information about the samba mailing list