Bug 53435 - Configuring Active Directory connection: sambaJoinScriptFailed
Configuring Active Directory connection: sambaJoinScriptFailed
Status: NEW
Product: UCS
Classification: Unclassified
Component: System setup
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-11 15:51 CEST by Dennis Amin Waigner
Modified: 2023-07-03 18:35 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019052621000421, 2019031421000841, 2019031321001029, 2018120921000031, 2018092921000358, 2018071121000279, 2018042421000732, 2018042421000634, 2018020721000429, 2017120721000215, 2017113021000085, 2020080321000681, 2020080721000815, 2020052921000495
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Amin Waigner 2021-06-11 15:51:00 CEST
+++ This bug was initially created as a clone of Bug #45847 +++

Version: 4.2-3 errata231 (Lesum)

Remark: already connected to winad before
then reinstall and connect again to winad with the same hostname

Traceback(d41d8cd98f00b204e9800998ecf8427e):
Configuring Active Directory connection: Traceback (most recent call last):
Configuring Active Directory connection: File "%PY2.7%/univention/management/console/modules/setup/setup_script.py", line 310, in run
Configuring Active Directory connection: success = self.inner_run()
Configuring Active Directory connection: File "/usr/lib/univention-system-setup/scripts/90_postjoin/10admember", line 119, in inner_run
Configuring Active Directory connection: admember.run_samba_join_script(username, password)
Configuring Active Directory connection: File "%PY2.7%/univention/lib/admember.py", line 1209, in run_samba_join_script
Configuring Active Directory connection: raise sambaJoinScriptFailed()
Configuring Active Directory connection: sambaJoinScriptFailed

--------------------------------------------------

Have the same problem with newest Version 5.0

connected before, misconfigured really bad, breaking the whole thing and reinstalled it.
Already deleted DNS entry and computer object in active directory
Comment 1 Dennis Amin Waigner 2021-06-11 18:35:15 CEST
So, after browsing through the active directory and DNS, i deleted everything
associated with that ip address. Turns out that the join script doesn't like reusing IP addresses. All corresponding computer objects and DNS entries were deleted, don't forget the tcp domaincontroller_master entry!

After that i tried to join with the same name, not working.
Used another name, not working. 

While joining i spotted that the installer creates multiple certificates, matching the used names, which failed to join. 
I counted my host names upwards, for example:

dw-home-001; dw-home-002; dw-home-003

So i reinstalled the whole thing and then it worked with the second name (didn't dare to try the first one).
Comment 2 Maximilian Janßen univentionstaff 2021-11-24 14:09:49 CET
Reported again: 2021090421000282
also probably a duplicate of Bug #45847


Version: 5.0-0 errata83

Error: 
Configuring Active Directory connection: Traceback (most recent call last):
Configuring Active Directory connection: File "%PY2.7%/univention/management/console/modules/setup/setup_script.py", line 312, in run
Configuring Active Directory connection: success = self.inner_run()
Configuring Active Directory connection: File "/usr/lib/univention-system-setup/scripts/90_postjoin/10admember", line 119, in inner_run
Configuring Active Directory connection: admember.run_samba_join_script(username, password)
Configuring Active Directory connection: File "%PY2.7%/univention/lib/admember.py", line 1357, in run_samba_join_script
Configuring Active Directory connection: raise sambaJoinScriptFailed()
Configuring Active Directory connection: sambaJoinScriptFailed

Role: domaincontroller_master
Comment 3 Mika Westphal univentionstaff 2022-10-28 09:33:51 CEST
Reported again: 2022102621000031
Version: 5.0-2 errata469

Remark: Error try join domain W12R2

Error:
Configuring Active Directory connection: Traceback (most recent call last):
Configuring Active Directory connection: File "%PY3%/univention/management/console/modules/setup/setup_script.py", line 312, in run
Configuring Active Directory connection: success = self.inner_run()
Configuring Active Directory connection: File "/usr/lib/univention-system-setup/scripts/90_postjoin/10admember", line 117, in inner_run
Configuring Active Directory connection: admember.run_samba_join_script(username, password)
Configuring Active Directory connection: File "%PY3%/univention/lib/admember.py", line 1373, in run_samba_join_script
Configuring Active Directory connection: raise sambaJoinScriptFailed()
Configuring Active Directory connection: univention.lib.admember.sambaJoinScriptFailed

Role: domaincontroller_master
Comment 4 Maximilian Janßen univentionstaff 2023-06-20 13:09:28 CEST
2023052221000662
Version: 5.0-3 errata668
Comment 5 Maximilian Janßen univentionstaff 2023-07-03 18:24:49 CEST
2023032821000422 4.4-9 errata1371 (Blumenthal)
2023032021000348
2023031021000072
2023021421000745 4.4-9 errata1371 (Blumenthal)
2023012021000021
2022122721000267 4.4-9 errata1216 (Blumenthal)
2022122321000685 4.4-9 errata1355 (Blumenthal)
2022120921000096 5.0-2 errata508
2022120921000087 5.0-2 errata508
2022120421000505
2022112721000107
2022092821000673 5.0-2 errata431
2022092321000404 4.4-9 errata1279 (Blumenthal)
2022092221000479
2022092121000195
2022090821000111 5.0-2 errata401 - UCS@school 5.0 v3
2022090221000346 5.0-2 errata401
2022082721000257 5.0-2 errata393
2022081621000214 4.4-9 errata1240 (Blumenthal) - UCS@school 4.4 v9
2022081021000387
2021111721000431
2021052621001051 5.0-0 errata0 fbest
Comment 6 Maximilian Janßen univentionstaff 2023-07-03 18:35:30 CEST
(In reply to Maximilian Janßen from comment #5)

The traceback-hash had some collisions again - some are not for this bug.
the ones actually for this bug:
2023032821000422 4.4-9 errata1371 (Blumenthal)
2023021421000745 4.4-9 errata1371 (Blumenthal)
2022122721000267 4.4-9 errata1216 (Blumenthal)
2022122321000685 4.4-9 errata1355 (Blumenthal)
2022092321000404 4.4-9 errata1279 (Blumenthal)