Univention Bugzilla – Bug 53466
adtakeover: AttributeError: 'int' object has no attribute 'find'
Last modified: 2021-11-18 13:02:05 CET
Version: 5.0-0 errata14 Remark: AD Takeover didn't work on 4.4. It doesn't work on 5.0. Does this product really work or is it vaporware? Error: Traceback (most recent call last): File "%PY3%/univention/management/console/modules/adtakeover/__init__.py", line 61, in _background result = func(self, request) File "%PY3%/univention/management/console/modules/adtakeover/__init__.py", line 110, in copy_domain_data takeover.join_to_domain_and_copy_domain_data(ip, username, password, self.progress) File "%PY3%/univention/management/console/modules/adtakeover/takeover.py", line 312, in join_to_domain_and_copy_domain_data takeover.rewrite_sambaSIDs_in_OpenLDAP() File "%PY3%/univention/management/console/modules/adtakeover/takeover.py", line 1338, in rewrite_sambaSIDs_in_OpenLDAP char_idx = address.find("@") AttributeError: 'int' object has no attribute 'find'
Created attachment 10752 [details] patch Regression in git:8d2918450517ba7d955539f0199f379d24be4883. Patch attached.
Fixed in: univention-management-console-module-adtakeover.yaml 551160d136c9 | Bug #53466: fix AD takeover if AD contains mail or proxyAddresses attributes univention-management-console-module-adtakeover (7.0.2-4) 551160d136c9 | Bug #53466: fix AD takeover if AD contains mail or proxyAddresses attributes TODO: our Jenkins-Tests should set up a domain with a lot of existing objects before doing the takeover. Fixes: 8d2918450517ba7d955539f0199f379d24be4883
Verified: * Code review * Package has been built * Advisory
<https://errata.software-univention.de/#/?erratum=5.0x138>
*** Bug 54048 has been marked as a duplicate of this bug. ***