Univention Bugzilla – Bug 56870
Samba join fails due to missing package samba-ad-provision
Last modified: 2023-11-29 14:56:16 CET
Feedback: Version: 5.0-5 errata798 Remark: unable to join Error: Domain setup (this might take a while): Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: 96univention-samba4.inst Configure 96univention-samba4.inst Tue Nov 7 21:44:26 WET 2023 [... see ticket] ERROR(exception): uncaught exception - File [/usr/share/samba/setup/ad-schema/AD_DS_Attributes__Windows_Server_2012_R2.ldf] not found. Please install samba-ad-provision package File "%PY3%/samba/netcmd/__init__.py", line 230, in _run return self.run(*args, **kwargs) File "%PY3%/samba/netcmd/domain.py", line 753, in run backend_store_size=backend_store_size) File "%PY3%/samba/join.py", line 1598, in join_DC ctx.do_join() File "%PY3%/samba/join.py", line 1486, in do_join ctx.join_add_objects() File "%PY3%/samba/join.py", line 668, in join_add_objects ctx.join_add_ntdsdsa() File "%PY3%/samba/join.py", line 593, in join_add_ntdsdsa ctx.DsAddEntry([rec]) File "%PY3%/samba/join.py", line 479, in DsAddEntry ctx.create_tmp_samdb() File "%PY3%/samba/join.py", line 462, in create_tmp_samdb schemadn=ctx.schema_dn) File "%PY3%/samba/schema.py", line 110, in __init__ setup_path('ad-schema/%s' % Schema.base_schemas[base_schema][0]), File "%PY3%/samba/provision/common.py", line 44, in setup_path raise Exception("File [%s] not found. Please install samba-ad-provision package" % path)
samba-ad-provision is a new binary package generated from the samba source package. Apparently there's a dependency missing.
Role: domaincontroller_slave
0cb958e1f | samba-ad-dc depends on samba-ad-provision f7aed51ab6 | Advisory update
The actual issue seems to be that the package is missing on the iso. With the newly added dependency (instead of just a recommends), it should land on the next iso built and released (for 5.0-6).
OK - univention-samba4 depends on samba-ad-dc which depends on samba-ad-provisioning OK -YAML
<https://errata.software-univention.de/#/?erratum=5.0x891>