Bug 34749 - udm does not correctly escape LDAP attribute values
udm does not correctly escape LDAP attribute values
Status: CLOSED DUPLICATE of bug 40041
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: Florian Best
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 10:57 CEST by Philipp Hahn
Modified: 2016-07-26 15:16 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
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 2014-05-06 10:57:06 CEST
udm settings/packages create --position "$BASE" --set name=test
udm settings/packages modify --dn "cn=test,$BASE" --set 'name=RFC4514_ "#+,;<=>\'
# LDAP Error: Invalid DN syntax: invalid new RDN

See <http://www.ietf.org/rfc/rfc4514.txt>
Comment 1 Florian Best univentionstaff 2016-07-26 15:16:23 CEST
root@xen3:~# BASE=dc=school,dc=local
root@xen3:~# udm settings/packages create --position "$BASE" --set name=test
Object created: cn=test,dc=school,dc=local
root@xen3:~# udm settings/packages modify --dn "cn=test,$BASE" --set 'name=RFC4514_ "#+,;<=>\'
Object modified: cn=test,dc=school,dc=local

*** This bug has been marked as a duplicate of bug 40041 ***