Hide Forgot
New schema is required for new features in IPA v3. This needs to be added automatically when an instance is updated from v2 to v3. This may be handled as either a file copy (preferred) or online schema update. The data replication version may need to be updated to break replication while the servers are being updated. Upstream ticket: https://fedorahosted.org/freeipa/ticket/2147
Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/fc2de9303575716e5d48c76892c190be1b6748fe ipa-2-2: https://fedorahosted.org/freeipa/changeset/4a597ecf3854d6af4450b4af529f13cb9ed96ef2
Verified. Version :: ipa-server-2.2.0-5.el6.x86_64 Automated Test Results :: I'm not able to run the tests in beaker yet but, can automatically run them here: # upgrade_bz_766096 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: upgrade_bz_766096: Handle schema upgrades from IPA v2 to v3 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [16:48:54] :: Machine in recipe is MASTER :: [ PASS ] :: Running 'ldapsearch -xLLL -D 'cn=<ROOT_DN>' -w '<PASSWORD>' -s base -b cn=schema '*' attributeTypes objectClasses | perl -p0e 's/\n //g' > /tmp/errormsg.out' objectClasses: ( 2.16.840.1.113730.3.8.12.6 NAME 'groupOfPrincipals' SUP top AUXILIARY MUST cn MAY memberPrincipal X-ORIGIN ( 'IPA v3' 'user defined' ) ) attributeTypes: ( 2.16.840.1.113730.3.8.11.20 NAME 'memberPrincipal' DESC 'Principal names member of a groupOfPrincipals group' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ( 'IPA-v3' 'user defined' ) ) :: [ PASS ] :: Checking for memberPrincipal attribute added to schema objectClasses: ( 2.16.840.1.113730.3.8.12.7 NAME 'ipaKrb5DelegationACL' SUP groupOfPrincipals STRUCTURAL MAY ( ipaAllowToImpersonate $ ipaAllowedTarget ) X-ORIGIN ( 'IPA v3' 'user defined' ) ) attributeTypes: ( 2.16.840.1.113730.3.8.11.21 NAME 'ipaAllowToImpersonate' DESC 'Principals that can be impersonated' SUP distinguishedName EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN ( 'IPA-v3' 'user defined' ) ) :: [ PASS ] :: Checking for ipaAllowToImpersonate attribute added to schema objectClasses: ( 2.16.840.1.113730.3.8.12.7 NAME 'ipaKrb5DelegationACL' SUP groupOfPrincipals STRUCTURAL MAY ( ipaAllowToImpersonate $ ipaAllowedTarget ) X-ORIGIN ( 'IPA v3' 'user defined' ) ) attributeTypes: ( 2.16.840.1.113730.3.8.11.22 NAME 'ipaAllowedTarget' DESC 'Target principals alowed to get a ticket for' SUP distinguishedName EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN ( 'IPA-v3' 'user defined' ) ) :: [ PASS ] :: Checking for ipaAllowedTarget attribute added to schema objectClasses: ( 2.16.840.1.113730.3.8.12.6 NAME 'groupOfPrincipals' SUP top AUXILIARY MUST cn MAY memberPrincipal X-ORIGIN ( 'IPA v3' 'user defined' ) ) objectClasses: ( 2.16.840.1.113730.3.8.12.7 NAME 'ipaKrb5DelegationACL' SUP groupOfPrincipals STRUCTURAL MAY ( ipaAllowToImpersonate $ ipaAllowedTarget ) X-ORIGIN ( 'IPA v3' 'user defined' ) ) attributeTypes: ( 2.16.840.1.113730.3.8.11.20 NAME 'memberPrincipal' DESC 'Principal names member of a groupOfPrincipals group' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ( 'IPA-v3' 'user defined' ) ) :: [ PASS ] :: Checking for groupOfPrincipals attribute added to schema objectClasses: ( 2.16.840.1.113730.3.8.12.7 NAME 'ipaKrb5DelegationACL' SUP groupOfPrincipals STRUCTURAL MAY ( ipaAllowToImpersonate $ ipaAllowedTarget ) X-ORIGIN ( 'IPA v3' 'user defined' ) ) :: [ PASS ] :: Checking for ipaKrb5DelegationACL attribute added to schema :: [ PASS ] :: BZ 766096 not found....all v3 attributes found in schema result_server not set, assuming developer mode. Setting <MASTER_IP> to state upgrade_bz_766096.15 :: [ PASS ] :: Running 'rhts-sync-set -s 'upgrade_bz_766096.15' -m <MASTER_IP>' Manual Test Results :: # ldapsearch -xLLL -D "$ROOTDN" -w "$ROOTDNPWD" -s base -b cn=schema '*' attributeTypes objectClasses | perl -p0e 's/\n //g' | egrep "memberPrincipal|ipaAllowToImpersonate|ipaAllowedTarget|groupOfPrincipals|ipaKrb5DelegationACL" objectClasses: ( 2.16.840.1.113730.3.8.12.6 NAME 'groupOfPrincipals' SUP top AUXILIARY MUST cn MAY memberPrincipal X-ORIGIN ( 'IPA v3' 'user defined' ) ) objectClasses: ( 2.16.840.1.113730.3.8.12.7 NAME 'ipaKrb5DelegationACL' SUP groupOfPrincipals STRUCTURAL MAY ( ipaAllowToImpersonate $ ipaAllowedTarget ) X-ORIGIN ( 'IPA v3' 'user defined' ) ) attributeTypes: ( 2.16.840.1.113730.3.8.11.21 NAME 'ipaAllowToImpersonate' DESC 'Principals that can be impersonated' SUP distinguishedName EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN ( 'IPA-v3' 'user defined' ) ) attributeTypes: ( 2.16.840.1.113730.3.8.11.22 NAME 'ipaAllowedTarget' DESC 'Target principals alowed to get a ticket for' SUP distinguishedName EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN ( 'IPA-v3' 'user defined' ) ) attributeTypes: ( 2.16.840.1.113730.3.8.11.20 NAME 'memberPrincipal' DESC 'Principal names member of a groupOfPrincipals group' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ( 'IPA-v3' 'user defined' ) ) # ls -l /usr/share/ipa/updates/10-60basev3.update -rw-r--r--. 1 root root 914 Mar 21 16:17 /usr/share/ipa/updates/10-60basev3.update
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