Hide Forgot
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:
I'm not sure how I missed it from my searches before but, this is already in BZ as 747693. *** This bug has been marked as a duplicate of bug 747693 ***
unmarking this one since I just realized that 747693 is for selfservice-find not selfservice-add.
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2228
Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/cf12f3106a7f55fbdb03d64588e8201f14470fe8 ipa-2-2: https://fedorahosted.org/freeipa/changeset/68d78d37876ade5122f663ec9614283b6921aa23
Verified. Version :: ipa-server-2.2.0-4.el6.x86_64 Automated Test Results :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: selfservice_bz_772106 ipa selfservice-add --raw returns internal error message :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: BZ Test Running: ipa selfservice-add selfservice_bz_772106 --attrs=l --raw > /tmp/tmp.V5BS5xp3mS/selfservice_bz_772106.3047.out 2>&1 :: [ PASS ] :: BZ 772106 not found :: [ LOG ] :: Duration: 7s :: [ LOG ] :: Assertions: 1 good, 0 bad :: [ PASS ] :: RESULT: selfservice_bz_772106 ipa selfservice-add --raw returns internal error message Manual Test Results :: [root@hp-xw6600-01 ipa-selfservice]# ipa selfservice-add bz772106 --attrs=l --raw ---------------------------- Added selfservice "bz772106" ---------------------------- aci: (targetattr = "l")(version 3.0;acl "selfservice:bz772106";allow (write) userdn = "ldap:///self";) [root@hp-xw6600-01 ipa-selfservice]# ipa selfservice-show bz772106 Self-service name: bz772106 Permissions: write Attributes: l
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No documentation needed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0819.html