rpms/ipa/devel ipa-schema.patch,NONE,1.1 ipa.spec,1.25,1.26

rcritten rcritten at fedoraproject.org
Mon Jan 18 18:12:53 UTC 2010


Author: rcritten

Update of /cvs/extras/rpms/ipa/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27203

Modified Files:
	ipa.spec 
Added Files:
	ipa-schema.patch 
Log Message:
Add patch to explicitly pull schema attributes (BZ #544927)


ipa-schema.patch:
 funcs.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE ipa-schema.patch ---
diff --git a/ipa-server/xmlrpc-server/funcs.py b/ipa-server/xmlrpc-server/funcs.py
index cf9e7de..4d8d2fc 100644
--- a/ipa-server/xmlrpc-server/funcs.py
+++ b/ipa-server/xmlrpc-server/funcs.py
@@ -332,7 +332,7 @@ class IPAServer:
 
         schema_entry = self.__get_base_entry("", "objectclass=*", ['dn','subschemasubentry'], opts)
         schema_cn = schema_entry.get('subschemasubentry')
-        schema = self.__get_base_entry(schema_cn, "objectclass=*", ['*'], opts)
+        schema = self.__get_base_entry(schema_cn, "objectclass=*", ['*','objectclasses','attributetypes','matchingrules'], opts)
 
         return schema


Index: ipa.spec
===================================================================
RCS file: /cvs/extras/rpms/ipa/devel/ipa.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- ipa.spec	10 Sep 2009 21:25:13 -0000	1.25
+++ ipa.spec	18 Jan 2010 18:12:53 -0000	1.26
@@ -6,7 +6,7 @@
 
 Name:           ipa
 Version:        1.2.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The Identity, Policy and Audit system
 
 Group:          System Environment/Base
@@ -14,6 +14,7 @@ License:        GPLv2
 URL:            http://www.freeipa.org/
 Source0:        freeipa-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch1:         ipa-schema.patch
 
 BuildRequires:  fedora-ds-base-devel >= 1.1.3
 BuildRequires:  mozldap-devel
@@ -192,6 +193,7 @@ administering radius authentication sett
 
 %prep
 %setup -n freeipa-%{version} -q
+%patch1 -p1
 
 %build
 export CFLAGS="$CFLAGS %{optflags}"
@@ -472,6 +474,9 @@ fi
 %{_sbindir}/ipa-modradiusprofile
 
 %changelog
+* Wed Sep  9 2009 Rob Crittenden <rcritten at redhat.com> - 1.2.2-2
+- Add patch to explicitly pull schema attributes (BZ #544927)
+
 * Wed Sep  9 2009 Rob Crittenden <rcritten at redhat.com> - 1.2.2-1
 - New upstream release 1.2.2
 - Own /etc/httpd/conf.d/ipa-*.conf as config files



More information about the scm-commits mailing list