Bug 791373 - Invalid error message attempting to delete config attributes
Summary: Invalid error message attempting to delete config attributes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-16 21:10 UTC by Jenny Severance
Modified: 2012-06-20 13:18 UTC (History)
3 users (show)

Fixed In Version: ipa-2.2.0-8.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Clone Of:
Environment:
Last Closed: 2012-06-20 13:18:53 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0819 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2012-06-19 20:34:17 UTC

Description Jenny Severance 2012-02-16 21:10:47 UTC
Description of problem:

Example:

# ipa config-mod --delattr=ipasearchrecordslimit=100
ipa: ERROR: ipasearchrecordslimit does not contain '100'


# ipaConfig, etc, testrelm.com
dn: cn=ipaConfig,cn=etc,dc=testrelm,dc=com
objectClass: nsContainer
objectClass: top
objectClass: ipaGuiConfig
objectClass: ipaConfigObject
ipaUserSearchFields: uid,givenname,sn,telephonenumber,ou,title
ipaGroupSearchFields: cn,description
ipaSearchTimeLimit: 2
ipaSearchRecordsLimit: 100  <=================================================
ipaHomesRootDir: /home
ipaDefaultLoginShell: /bin/sh
ipaDefaultPrimaryGroup: ipausers
ipaMaxUsernameLength: 32
ipaPwdExpAdvNotify: 4
ipaGroupObjectClasses: top
ipaGroupObjectClasses: groupofnames
ipaGroupObjectClasses: nestedgroup
ipaGroupObjectClasses: ipausergroup
ipaGroupObjectClasses: ipaobject
ipaUserObjectClasses: top
ipaUserObjectClasses: person
ipaUserObjectClasses: organizationalperson
ipaUserObjectClasses: inetorgperson
ipaUserObjectClasses: inetuser
ipaUserObjectClasses: posixaccount
ipaUserObjectClasses: krbprincipalaux
ipaUserObjectClasses: krbticketpolicyaux
ipaUserObjectClasses: ipaobject
ipaUserObjectClasses: ipasshuser
ipaDefaultEmailDomain: testrelm.com
ipaConfigString: AllowNThash
ipaSELinuxUserMapOrder: guest_u:s0$xguest_u:s0$user_u:s0-s0:c0.c1023$staff_u:s
 0-s0:c0.c1023$unconfined_u:s0-s0:c0.c1023
ipaSELinuxUserMapDefault: guest_u:s0
cn: ipaConfig
ipaCertificateSubjectBase: O=TESTRELM.COM

# search result
search: 2
result: 0 Success




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

How reproducible:


Steps to Reproduce:
1.  try to delete any configuration attribute
2.
3.
  
Actual results:
ipa: ERROR: configAttribute does not contain 'value'


Expected results:
Error message stating that the action is not allowed



Additional info:

Comment 2 Rob Crittenden 2012-02-17 18:31:25 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2405

Comment 3 Rob Crittenden 2012-04-04 14:53:00 UTC
fixed upstream

master: 8a7d7aaf810503befc174ce0465a08d086e47b91

ipa-2-2: 241955e4ce34f491168237f5a06bcb98daf22a5a

Comment 7 Martin Kosek 2012-04-24 11:49:27 UTC
    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.

Comment 8 Namita Soman 2012-05-16 18:34:22 UTC
verified using ipa-server-2.2.0-14.el6.x86_64

# ipa config-mod --delattr=ipasearchrecordslimit=100
ipa: ERROR: 'ipasearchrecordslimit' is required


as expected - does not allow action with a message indicating so

Comment 10 errata-xmlrpc 2012-06-20 13:18:53 UTC
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


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