Bug 36632 - python undefined name in ad-connector
python undefined name in ad-connector
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-13 12:38 CET by Florian Best
Modified: 2020-07-03 20:51 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments
Patch (2.42 KB, patch)
2018-06-13 17:07 CEST, jp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-11-13 12:38:10 CET
./services/univention-ad-connector/modules/univention/connector/ad/__init__.py:458: undefined name 'sid'
./services/univention-ad-connector/modules/univention/connector/ad/mapping.py:49: undefined name 'univention'
Comment 1 Florian Best univentionstaff 2016-09-12 16:09:13 CEST
./services/univention-ad-connector/modules/univention/connector/ad/__init__.py:543:14: F821 undefined name 'sid'
./services/univention-ad-connector/modules/univention/connector/ad/__init__.py:876:159: F821 undefined name 'ldaps'
./services/univention-ad-connector/modules/univention/connector/ad/mapping.py:49:9: F821 undefined name 'univention'
./services/univention-ad-connector/univention-adsearch:62:16: F821 undefined name 'base64'
Comment 2 Florian Best univentionstaff 2016-10-28 17:01:07 CEST
./modules/univention/connector/__init__.py:953: undefined name 'dn'
./modules/univention/connector/__init__.py:954: undefined name 'dn'
./modules/univention/connector/__init__.py:1228: undefined name 'delete_in_ucs'
Comment 3 jp 2018-06-13 17:07:25 CEST
Created attachment 9556 [details]
Patch

sid fixed
ldaps already fixed?
univention fixed by replacing with direct import
base64 already fixed
delete_in_ucs added self, fixed
dn will be fixed by #18501
Comment 4 Ingo Steuwer univentionstaff 2020-07-03 20:51:51 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.