Univention Bugzilla – Bug 37596
Takeover fails when sAMAccountName is missing for well known SID
Last modified: 2015-03-25 16:38:56 CET
The following call in takeover.py causes the takeover process to die immediately:
ad_object_name = obj.get("sAMAccountName", [None])
This LDAP object caused the problems:
The corresponding ticket is #2015012221000631.
Created attachment 6628 [details]
Interesting, usually that account is not in the domain partition:
dn: CN=Dialup,CN=WellKnown Security Principals,CN=Configuration,DC=ar40i1,DC=qa
So we should adjust the search filter, see proposed patch.
The package has been built in errata4.0-1 with the patch.
Code review: OK