Bug 36806 - Unable to join a Samba4 DC slave into Samba4 domain
Unable to join a Samba4 DC slave into Samba4 domain
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Arvid Requate
Stefan Gohmann
: interim-4
: 33261 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-18 13:00 CET by Arvid Requate
Modified: 2014-11-26 06:54 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
join.log (49.61 KB, text/x-log)
2014-11-18 13:00 CET, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2014-11-18 13:00:32 CET
Created attachment 6408 [details]
join.log

The same issue as in Bug #36734 just happend to me in the Samba4 case trying to install and join another UCS 4.0 Samba4 DC Slave, see attachment.

If I remember correctly, I might accidentally first have chosen "Join into an existing Active Directory domain" and then clicked back. That would explain where the lp.load('/dev/null') got executed.


+++ This bug was initially created as a clone of Bug #36734 +++
Comment 1 Arvid Requate univentionstaff 2014-11-18 13:07:56 CET
Either we fix this like in Bug #36734 or we patch unvention-lib/python/admember.py to fix this for all cases by adding two lines around the bogous lp.load:


+orig_environ = os.environ.copy()
 lp.load('/dev/null')
+os.environ = orig_environ

This would have the advantage to cover all other possible side effects.
Comment 2 Arvid Requate univentionstaff 2014-11-18 13:47:49 CET
Fixed like in Bug #36734, changelog added.
Comment 3 Stefan Gohmann univentionstaff 2014-11-19 06:20:51 CET
It works in my tests.

Changelog OK.
Comment 4 Stefan Gohmann univentionstaff 2014-11-19 09:36:53 CET
*** Bug 33261 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Gohmann univentionstaff 2014-11-26 06:54:08 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".