Bug 52432 - Traceback in AD Connector: AttributeError: ad instance has no attribute 'dom_handle'
Traceback in AD Connector: AttributeError: ad instance has no attribute 'dom_...
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on: 45127 51501
Blocks: 48266
  Show dependency treegraph
 
Reported: 2020-11-25 16:20 CET by Dirk Schnick
Modified: 2021-03-02 21:52 CET (History)
11 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020112421000527
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schnick univentionstaff 2020-11-25 16:20:48 CET
+++ This bug was initially created as a clone of Bug #51501 +++

+++ This bug was initially created as a clone of Bug #45127 +++

AD Connector of a customer throws a traceback after reset of password via windows client:

23.11.2020 08:02:55.389 LDAP        (PROCESS): password_sync: set_password_in_ad failed with (3221225644, 'An instance of a named pipe cannot be found in the listening state.'), retry with reconnect
23.11.2020 08:02:55.409 LDAP        (WARNING): sync failed, saved as rejected
23.11.2020 08:02:55.411 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/connector/__init__.py", line 803, in __sync_file_from_ucs
    or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, object_old))):
  File "/usr/lib/python2.7/dist-packages/univention/connector/ad/__init__.py", line 2795, in sync_from_ucs
    f(self, property_type, object)
  File "/usr/lib/python2.7/dist-packages/univention/connector/ad/password.py", line 409, in password_sync_ucs
    res = set_password_in_ad(connector, object['attributes']['sAMAccountName'][0], pwd, reconnect=True)
  File "/usr/lib/python2.7/dist-packages/univention/connector/ad/password.py", line 206, in set_password_in_ad
    if connector.dom_handle:
AttributeError: ad instance has no attribute 'dom_handle'

As customer said actual no impact for the user (realized).


univention-app info
UCS: 4.4-6 errata796
Installed: adconnector=12.0
Upgradable:
Comment 1 Florian Best univentionstaff 2021-03-02 21:52:34 CET
Still broken with UCS 5.0.