RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 837375 - IPA error message for targetattr is not formatted.
Summary: IPA error message for targetattr is not formatted.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-03 16:06 UTC by Dmitri Pal
Modified: 2012-10-10 12:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-10 12:44:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dmitri Pal 2012-07-03 16:06:29 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/2873

Version: freeipa-server-2.99.0-0.20120618T1103Zgite94733f.fc17.x86_64

# ipa permission-mod APermission --rename=ABCPermission --attrs --permissions=write --type=user

ipa: ERROR: targetattr "--permissions=write" does not exist in schema. Please add attributeTypes "--permissions=write" to schema if necessary. ACL Syntax Error(-5):(targetattr = \22--permissions=write\22)(target = \22ldap:///uid=\2a,cn=users,cn=accounts,dc=testrelm,dc=com\22)(version 3.0;acl \22permission:APermission\22;allow (write) groupdn = \22ldap:///cn=apermission,cn=permissions,cn=pbac,dc=testrelm,dc=com\22;): Invalid syntax.
[root@dhcp201-207 ipa-rbac]#



{{{
<shanks> mkosek, see "\22" in the output
<mkosek> shanks: hello, you mean the fact that \22 is in the output not the that the command does not work?
<mkosek> shanks: because the options are indeed wrong, --attrs takes value
<shanks> mkosek, yes, this was part of negative testing
<mkosek> shanks: well, there is a indeed some glitch in the error message, you can file a bug if you want to - though this is a very low priority one :)
<shanks> mkosek, ok, thanks
}}}

Comment 1 RHEL Program Management 2012-07-10 08:09:07 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 RHEL Program Management 2012-07-10 23:29:46 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 3 Martin Kosek 2012-09-26 06:49:03 UTC
I investigated this issue and I found that the error message is actually OK and expected, backslash hex escapes are intended. This exact error message would also be returned if somebody adds such ACL breaking the DS syntax (unknown attribute) in other client tools, like ldapsearch. It can be also found in this format in Directory Server error log:

[25/Sep/2012:06:12:03 -0400] NSACLPlugin - ACL Syntax Error(-5):(targetattr = \22foo\22)(target =       \22ldap:///uid=\2a,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com\22)(version 3.0;acl       \22permission:foo2\22;allow (write) groupdn = \22ldap:///cn=foo2,cn=permissions,cn=pbac,dc=idm,dc=lab,  dc=bos,dc=redhat,dc=com\22;)

Thus, since this is not a bug in IPA and the error message format is expected, I would like to close this bug as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.