Bug 794474

Summary: Can not add new user objectclass to ipa configuration
Product: Red Hat Enterprise Linux 6 Reporter: Jenny Severance <jgalipea>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: mkosek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.2.0-3.el6 Doc Type: Bug Fix
Doc Text:
Tech note not needed - limited impact.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:18:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jenny Severance 2012-02-16 22:17:36 UTC
Description of problem:

# ipa config-mod --userobjectclasses="top, person, organizationalperson, inetorgperson, inetuser, posixaccount, krbprincipalaux, krbticketpolicyaux, ipaobject, ipasshuser, sambasamaccount"
ipa: ERROR: invalid 'ipauserobjectclasses': user default attribute sshpubkeyfp would not be allowed!




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

How reproducible:


Steps to Reproduce:
1. attempt to add an additional user object class to ipa configuration (see description)
2.
3.
  
Actual results:
ipa: ERROR: invalid 'ipauserobjectclasses': user default attribute sshpubkeyfp would not be allowed!


Expected results:
object class added and any new user added would have attributes from this objectclass available



Additional info:

Comment 1 Jenny Severance 2012-02-17 18:07:15 UTC
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Add additional allowed user object class
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ipa: ERROR: invalid 'ipauserobjectclasses': user default attribute sshpubkeyfp would not be allowed!
:: [   FAIL   ] :: Add additional allowed objectclass (Expected 0, got 1)
:: [   FAIL   ] :: User object classes not as expected.

Comment 2 Rob Crittenden 2012-02-17 18:43:17 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2406

Comment 5 Jenny Severance 2012-03-21 20:33:57 UTC
verified ::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Add additional allowed user object class
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Add additional allowed objectclass
:: [   PASS   ] :: Additional user objectclass successfully added.
:: [   PASS   ] :: Running 'ipa config-mod --delattr=ipauserobjectclasses=sambasamaccount'
:: [   LOG    ] :: Duration: 5s
:: [   LOG    ] :: Assertions: 3 good, 0 bad
:: [   PASS   ] :: RESULT: Add additional allowed user object class


version::

ipa-server-2.2.0-4.el6.x86_64

Comment 7 Martin Kosek 2012-04-24 11:51:09 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:
Tech note not needed - limited impact.

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