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/”, line 280, in execute
result = execute(umc_module, **kwargs)
File “/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/”, line 145, in run
drs = DRSUAPI()
File “/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/”, 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/”, line 78, in samba_credentials
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/”, line 185, in _run
return*args, **kwargs)
File “/usr/lib/python2.7/dist-packages/samba/netcmd/”, line 195, in run
self.lp = sambaopts.get_loadparm()
File “/usr/lib/python2.7/dist-packages/samba/”, line 91, in get_loadparm

Has anyone an idea?