Univention Bugzilla – Bug 52485
UCS 5.0 beta ISO: Package samba-dsdb-modules uninstalled, Samba provisioning fails.
Last modified: 2023-11-27 11:52:04 CET
With the current UCS 5.0 beta ISO Samba doesn't install properly. The Package samba-dsdb-modules in uninstalled. When I install it manually, it pulls libgpgme11 and samba-dsdb-modules =========================================================================== Stopping samba-ad-dc (via systemctl): samba-ad-dc.service. Stopping smbd (via systemctl): smbd.service. Stopping nmbd (via systemctl): nmbd.service. Create kerberos/kdc Setting kerberos/kpasswdserver File: /etc/krb5.conf Create samba4/function/level Multifile: /etc/samba/smb.conf INFO 2020-12-11 12:02:01,374 pid:4236 /usr/lib/python3/dist-packages/samba/netcmd/domain.py #426: Administrator password will be set randomly! INFO 2020-12-11 12:02:01,381 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2403: Looking up IPv4 addresses INFO 2020-12-11 12:02:01,382 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2420: Looking up IPv6 addresses WARNING 2020-12-11 12:02:01,382 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2427: No IPv6 address will be assigned INFO 2020-12-11 12:02:01,654 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2571: Setting up share.ldb INFO 2020-12-11 12:02:01,670 pid:4236 /usr/lib/python3/dist-packages/samba/provision/__init__.py #2575: Setting up secrets.ldb WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH? Unable to load modules for /var/lib/samba/private/secrets.ldb: (null) ERROR(ldb): uncaught exception - None File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run return self.run(*args, **kwargs) File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 505, in run backend_store_size=backend_store_size) File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 2577, in provision session_info=session_info, lp=lp) File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1045, in setup_secretsdb secrets_ldb = Ldb(path, session_info=session_info, lp=lp) File "/usr/lib/python3/dist-packages/samba/__init__.py", line 115, in __init__ self.connect(url, flags, options) ERROR: Samba4 provision failed, exiting /usr/share/univention-samba4/scripts/setup-s4.sh ===========================================================================
31e742cccf | Make univention-samba4 depend on samba-dsdb-modules No clue how it worked before. Even in 4.2 I can uninstall, as nothing explicitly depends on it. Only samba-common-bin recommends it. But itc ontains the core ldb modules that implement the AD behavior. So, it should be the right thing to let univention-samba4 depend on it. IIRC we had issues before, in cases where it got uninstalled. So, yeah, I think we should do this. Successful build Package: univention-samba4 Version: 9.0.5-1A~5.0.0.202012112316 Branch: ucs_5.0-0
Package has been copied to the dvd and has been installed -> OK
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".