Hide Forgot
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:
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2405
fixed upstream master: 8a7d7aaf810503befc174ce0465a08d086e47b91 ipa-2-2: 241955e4ce34f491168237f5a06bcb98daf22a5a
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.
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
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