Univention Bugzilla – Bug 37049
AD-Member setup (via system setup) drops joinscript error messages
Last modified: 2015-01-29 11:43:47 CET
Created attachment 6475 [details] screenshot Some logging information from admember.run_samba_join_script get's lost when an error occurs during AD-Member setup (initiated via system setup). The /var/log/univention/setup.log below shows the traceback, but looking at the python code one line before the exception there should be an error message and log output from running the joinscript: ============================================================================== if p1.returncode != 0: ud.debug(ud.MODULE, ud.ERROR, "26univention-samba.inst failed with %d (%s)" % (p1.returncode, stderr)) raise sambaJoinScriptFailed() ============================================================================== The setupl.log didn't capture this, and the error message in the UMC-Setup dialog is essentially empty (the error message details are empty, see attached screeen shot): ============================================================================== __MSG__:Einrichten der Synchronisation von AD... W: The config registry variable 'ldap/sasl/secprops/maxssf' does not exist Create connector/ad/ldap/host Create connector/ad/ldap/base Create connector/ad/ldap/binddn Create connector/ad/ldap/bindpw Create connector/ad/ldap/kerberos Setting connector/ad/mapping/syncmode Setting connector/ad/mapping/user/ignorelist Module: ad-certificate Setting connector/ad/ldap/ssl __STEP__:75 __MSG__:Umbennen bekannter SID-Objekte... __STEP__:80 __MSG__:Ausführen des Samba Join-Skripts... __ERR__: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/setup_script.py", line 304, in run success = self.inner_run() File "/usr/lib/univention-system-setup/scripts/90_postjoin//10admember", line 108, in inner_run admember.run_samba_join_script(username, password) File "/usr/lib/pymodules/python2.7/univention/lib/admember.py", line 611, in run_samba_join_script raise sambaJoinScriptFailed() sambaJoinScriptFailed run-parts: /usr/lib/univention-system-setup/scripts/90_postjoin//10admember exited with return code 1 === 90_postjoin/20upgrade (2014-11-26 13:46:28) === ==============================================================================
Initialization of univention.debug was missing, at least in 90_postjoin/10admember Fixed along with Bug #37481.
YAML: OK Tests: OK
<http://errata.univention.de/ucs/4.0/57.html>