Univention Bugzilla – Bug 36639
AD-Takeover aborts with traceback if join takes too long (i.e. takeover of large AD).
Last modified: 2014-11-26 06:55:00 CET
AD-Takeover failed with a traceback after successfully joining an AD-domain with a larger number of users (see bug 36628). I assume that this is due to a timeout of the LDAP-connector to the AD: ============================================================================= 2.11.14 22:40:24.057 MODULE ( PROCESS ) : ### Start von Samba ### 12.11.14 22:40:24.782 MODULE ( PROCESS ) : Die Ausführung des Kommandos copy_domain_data ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/__init__.py", line 60, in _background result = func(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/__init__.py", line 107, in copy_domain_data takeover.join_to_domain_and_copy_domain_data(ip, username, password, self.progress) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/takeover.py", line 286, in join_to_domain_and_copy_domain_data takeover.post_join_tasks_and_start_samba_without_drsuapi() File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/takeover.py", line 1036, in post_join_tasks_and_start_samba_without_drsuapi takeover_DC_Behavior_Version(self.ucr, self.AD.samdb, self.samdb, self.ad_server_name, self.AD.domain_info["ad_server_site"]) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/takeover.py", line 2296, in takeover_DC_Behavior_Version attrs=["msDS-HasMasterNCs", "msDS-HasInstantiatedNCs", "msDS-Behavior-Version"]) LdbError: (1, 'LDAP client internal error: NT_STATUS_UNEXPECTED_NETWORK_ERROR') =============================================================================
Created attachment 6362 [details] reconnect_after_join.patch
Patch applied and tested in my takeover environment. Changelog adjusted.
OK, looks good. Test were successful. Changelog OK.
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".