[Freeipa-devel] [PATCH] 471 Fix objectClass casing in LDIF to prevent schema update error
When a new objectclass was defined as objectclass and not objectClass, it made the schema updater skip some objectclasses. https://fedorahosted.org/freeipa/ticket/4405 --- This fixed the 3.3.5 - 4.0 upgrade for me. The root cause is quite strange for me though and I am not sure if this is intended. I assume there may be other issue in updater or python-ldap. -- Martin Kosek mko...@redhat.com Supervisor, Software Engineering - Identity Management Team Red Hat Inc. From 231fe6997dffe5f9045c26a74dc5a2082e07a10d Mon Sep 17 00:00:00 2001 From: Martin Kosek mko...@redhat.com Date: Fri, 27 Jun 2014 13:04:03 +0200 Subject: [PATCH] Fix objectClass casing in LDIF to prevent schema update error When a new objectclass was defined as objectclass and not objectClass, it made the schema updater skip some objectclasses. https://fedorahosted.org/freeipa/ticket/4405 --- install/share/60basev3.ldif | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/share/60basev3.ldif b/install/share/60basev3.ldif index 6282dc16af108dfa3c392cdbbb5a54bf78915406..7c2599ceff0a60eb3fcb2f68fde3561a6ed41c1c 100644 --- a/install/share/60basev3.ldif +++ b/install/share/60basev3.ldif @@ -66,4 +66,4 @@ dn: objectClasses: (2.16.840.1.113730.3.8.12.19 NAME 'ipaUserAuthTypeClass' SUP top AUXILIARY DESC 'Class for authentication methods definition' MAY ipaUserAuthType X-ORIGIN 'IPA v3') objectClasses: (2.16.840.1.113730.3.8.12.20 NAME 'ipaUser' AUXILIARY MUST ( uid ) MAY ( userClass ) X-ORIGIN 'IPA v3' ) objectClasses: (2.16.840.1.113730.3.8.12.21 NAME 'ipaPermissionV2' DESC 'IPA Permission objectclass, version 2' SUP ipaPermission AUXILIARY MUST ( ipaPermBindRuleType $ ipaPermLocation ) MAY ( ipaPermDefaultAttr $ ipaPermIncludedAttr $ ipaPermExcludedAttr $ ipaPermRight $ ipaPermTargetFilter $ ipaPermTarget ) X-ORIGIN 'IPA v3' ) -objectclasses: (2.16.840.1.113730.3.8.12.22 NAME 'ipaAllowedOperations' SUP top AUXILIARY DESC 'Class to apply access controls to arbitrary operations' MAY ( ipaAllowedToPerform $ ipaProtectedOperation ) X-ORIGIN 'IPA v3') +objectClasses: (2.16.840.1.113730.3.8.12.22 NAME 'ipaAllowedOperations' SUP top AUXILIARY DESC 'Class to apply access controls to arbitrary operations' MAY ( ipaAllowedToPerform $ ipaProtectedOperation ) X-ORIGIN 'IPA v3') -- 1.9.3 ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 471 Fix objectClass casing in LDIF to prevent schema update error
On 06/27/2014 05:41 AM, Martin Kosek wrote: When a new objectclass was defined as objectclass and not objectClass, it made the schema updater skip some objectclasses. https://fedorahosted.org/freeipa/ticket/4405 --- This fixed the 3.3.5 - 4.0 upgrade for me. The root cause is quite strange for me though and I am not sure if this is intended. I assume there may be other issue in updater or python-ldap. ack, although the ldap updater code should be changed - attribute types should be case insensitive. ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 471 Fix objectClass casing in LDIF to prevent schema update error
On 06/27/2014 03:41 PM, Rich Megginson wrote: On 06/27/2014 05:41 AM, Martin Kosek wrote: When a new objectclass was defined as objectclass and not objectClass, it made the schema updater skip some objectclasses. https://fedorahosted.org/freeipa/ticket/4405 --- This fixed the 3.3.5 - 4.0 upgrade for me. The root cause is quite strange for me though and I am not sure if this is intended. I assume there may be other issue in updater or python-ldap. ack, although the ldap updater code should be changed - attribute types should be case insensitive. Yup, python-ldap bug: https://bugzilla.redhat.com/show_bug.cgi?id=1007820 Already fixed in master, or whatever CVS has. -- PetrĀ³ ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel
Re: [Freeipa-devel] [PATCH] 471 Fix objectClass casing in LDIF to prevent schema update error
On 06/27/2014 04:26 PM, Petr Viktorin wrote: On 06/27/2014 03:41 PM, Rich Megginson wrote: On 06/27/2014 05:41 AM, Martin Kosek wrote: When a new objectclass was defined as objectclass and not objectClass, it made the schema updater skip some objectclasses. https://fedorahosted.org/freeipa/ticket/4405 --- This fixed the 3.3.5 - 4.0 upgrade for me. The root cause is quite strange for me though and I am not sure if this is intended. I assume there may be other issue in updater or python-ldap. ack, although the ldap updater code should be changed - attribute types should be case insensitive. Yup, python-ldap bug: https://bugzilla.redhat.com/show_bug.cgi?id=1007820 Already fixed in master, or whatever CVS has. Good, so it is tracked and will (hopefully) get to Fedora eventually. Pushed to master as per Rich's ack. Thanks, Martin ___ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel