#2585 ipa permission-add throws internal server error when name contains '<' or '>'
Closed: Fixed None Opened 12 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=807304 (Red Hat Enterprise Linux 6)

Description of problem:
Adding a permission with name containing '<' or '>' throws error:
ipa: ERROR: cannot connect to u'http://qe-blade-13.testrelm.com/ipa/xml':
Internal Server Error


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-5.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Add a permission with name "a<a" or "a>a"
ipa permission-add --permissions=write --attrs=description --type=user "a>a"

Actual results:
Got error:
ipa: ERROR: cannot connect to u'http://qe-blade-13.testrelm.com/ipa/xml':
Internal Server Error


Expected results:
If there are characters that are not allowed in permission names, an error
message indicating that should be thrown.

Additional info:

Attached

Also applies to other characters that need DN escaping (",", "+", '"', "\", ";").

Metadata Update from @mkosek:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/04

7 years ago

Login to comment on this ticket.

Metadata