Problem: Check Samba replication status for error

Hi folks,

since some time I get this error within system diagnostic. I don’t really know if this hapens since last update, as I have to manage another problem with the office-365 connector.

Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/__init__.py”, line 280, in execute
result = execute(umc_module, **kwargs)
File “/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/41_samba_tool_showrepl.py”, line 145, in run
drs = DRSUAPI()
File “/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/41_samba_tool_showrepl.py”, line 60, in __init__
(self.load_param, self.credentials) = self.samba_credentials()
File “/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/41_samba_tool_showrepl.py”, line 78, in samba_credentials
load_param.load_default()
RuntimeError: Unable to load default file

I’ve checked some other errors reported in the forum, but there was no solution for me yet.

On command line I get similar error:

root@ucs01:~# samba-tool drs showrepl
ERROR(runtime): uncaught exception - Unable to load default file
File “/usr/lib/python2.7/dist-packages/samba/netcmd/init.py”, line 185, in _run
return self.run(*args, **kwargs)
File “/usr/lib/python2.7/dist-packages/samba/netcmd/drs.py”, line 195, in run
self.lp = sambaopts.get_loadparm()
File “/usr/lib/python2.7/dist-packages/samba/getopt.py”, line 91, in get_loadparm
self._lp.load_default()

Has anyone an idea?

Hi @MatthiasH,

similar problem here. Did you find a solution?

br

Hi @pan

i uninstalled univention-samba, did a reconfigure and reinstalled all necessary modules and did a reconfigure once again. I think, there was a wrong configuration anywhere.

1 Like
Mastodon