Bug 43431 - wrong DN syntax handling
wrong DN syntax handling
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
Florian Best
:
Depends on: 43332
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-27 09:57 CET by Philipp Hahn
Modified: 2017-06-23 18:38 CEST (History)
2 users (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-01-27 09:57:00 CET
+++ This bug was initially created as a clone of Bug #43332 +++
$ git grep -n "[Dd][Nn].*\.find([\"'],[\"'])"

test/ucs-test/lib/ldap_glue.py:19:      index = dn.find(',')
test/ucs-test/lib/ldap_glue.py:27:      index = dn.find(',')
test/ucs-test/tests/52_s4connector/ldap_glue_s4.py:13:  index = dn.find(',')
test/ucs-test/tests/52_s4connector/ldap_glue_s4.py:21:  index = dn.find(',')

Use .parentDn() or ldap.dn.dn2str(ldap.dn.str2dn(...)...)
Comment 1 Philipp Hahn univentionstaff 2017-01-27 11:05:42 CET
r76138 | Bug #43431 test: Fix wrong DN handling
Comment 2 Florian Best univentionstaff 2017-01-30 13:25:53 CET
OK: get_rdn()
OK: get_parent_dn()