https://bugzilla.redhat.com/show_bug.cgi?id=772106
Description of problem: There seems to be a problem using the --raw flag for "ipa selfservice-add". # ipa selfservice-add testraw --all --attrs=l --permissions=write --raw ipa: ERROR: an internal error has occurred However, the permissions do seem to get set: # ipa selfservice-show testraw Self-service name: testraw Permissions: write Attributes: l And, if leaving the --raw option off the command line, no error is seen: # ipa selfservice-add test --all --attrs=l --permissions=write ------------------------ Added selfservice "test" ------------------------ Self-service name: test Permissions: write Attributes: l selfaci: True Version-Release number of selected component (if applicable): This was run on a Fedora 16 build. freeipa-server-2.1.4-2.fc16.x86_64 freeipa-admintools-2.1.4-2.fc16.x86_64 389-ds-base-libs-1.2.10-0.5.a5.fc16.x86_64 389-ds-base-1.2.10-0.5.a5.fc16.x86_64 How reproducible: always Steps to Reproduce: 1. run ipa selfservice-add using --raw option Actual results: ipa: ERROR: an internal error has occurred Expected results: Return output with raw ldap entry type format like other ipa commands do with --raw. Additional info:
Moving to the same bucket as ticket #2010 - they probably share the same root cause.
master: cf12f31[[BR]] ipa-2-2: 68d78d3
Relevant one-line fix removing debug messages from permission.py:
permission.py
master: 3bd36af[[BR]] ipa-2-2: 1403307
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02
Login to comment on this ticket.