Univention Bugzilla – Full Text Bug Listing |
Summary: | python undefined name in s4-connector | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | S4 Connector | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Arvid Requate <requate> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, requate |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.4-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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
1.patch |
Description
Florian Best
2014-11-13 12:49:09 CET
./services/univention-s4-connector/sync_krbtgt:142:79: F821 undefined name 'username' ./services/univention-s4-connector/sync_krbtgt:143:56: F821 undefined name 'username' Created attachment 9554 [details]
Patch
ud was already fixed, there is no "ud" anymore.
Removed the undefined variables from code. univention-s4-connector (13.0.2-28) cb68a31a33f5 | Bug #36633: fix some reference errors univention-s4-connector.yaml cb68a31a33f5 | Bug #36633: fix some reference errors Created attachment 10154 [details]
1.patch
I think this change doesn't make too much sense:
- ntPwd = binascii.b2a_hex(unicodePwd_attr).upper()
+ binascii.b2a_hex(unicodePwd_attr).upper() # nt hash
See attached patch, I'd just remove the lines?
OK: patch applied univention-s4-connector (13.0.2-35) a61641e40643 | Bug #36633: remove more unused code 773ac2116d | Advisory version number update Verified: * Code review * Functional test for sync_krbtgt * Advisory |