rpms/ipa/devel freeipa-index.patch, NONE, 1.1 freeipa-memberofindex.patch, NONE, 1.1 freeipa-noinit.patch, NONE, 1.1 freeipa-replica-default.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 ipa.spec, 1.11, 1.12 sources, 1.7, 1.8

Robert Crittenden (rcritten) fedora-extras-commits at redhat.com
Wed Jun 18 14:26:48 UTC 2008


Author: rcritten

Update of /cvs/extras/rpms/ipa/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31952

Modified Files:
	.cvsignore ipa.spec sources 
Added Files:
	freeipa-index.patch freeipa-memberofindex.patch 
	freeipa-noinit.patch freeipa-replica-default.patch 
Log Message:
- Update to upstream version 1.1.0
- Patch for indexing memberof attribute
- Patch for indexing uidnumber and gidnumber
- Patch to change DNA default values for replicas
- Patch to fix uninitialized variable in ipa-getkeytab


freeipa-index.patch:

--- NEW FILE freeipa-index.patch ---
>From 5013d1045e5920f860355473528e0d5d3903acf7 Mon Sep 17 00:00:00 2001
From: Simo Sorce <ssorce at redhat.com>
Date: Thu, 12 Jun 2008 18:26:15 -0400
Subject: [PATCH] Must index uidnumber and gidnumber and any attribute that dna plugin is going
 to generate or that we need to search on.

---
 ipa-server/ipa-install/share/indices.ldif |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/ipa-server/ipa-install/share/indices.ldif b/ipa-server/ipa-install/share/indices.ldif
index 174880b..3fb2f33 100644
--- a/ipa-server/ipa-install/share/indices.ldif
+++ b/ipa-server/ipa-install/share/indices.ldif
@@ -71,3 +71,22 @@ objectClass:nsIndex
 cn:memberof
 nsSystemIndex:false
 nsIndexType:eq
+
+dn: cn=uidnumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+changetype: add
+objectClass:top
+objectClass:nsIndex
+cn:uidnumber
+nsSystemIndex:false
+nsIndexType:eq
+nsMatchingRule: integerOrderingMatch
+
+dn: cn=gidnumber,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+changetype: add
+objectClass:top
+objectClass:nsIndex
+cn:gidnumber
+nsSystemIndex:false
+nsIndexType:eq
+nsMatchingRule: integerOrderingMatch
+
-- 
1.5.4.1


freeipa-memberofindex.patch:

--- NEW FILE freeipa-memberofindex.patch ---
diff --git a/ipa-server/ipa-install/share/indices.ldif b/ipa-server/ipa-install/
share/indices.ldif
index 31cbc30..174880b 100644
--- a/ipa-server/ipa-install/share/indices.ldif
+++ b/ipa-server/ipa-install/share/indices.ldif
@@ -63,3 +63,11 @@ dn: cn=uid,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
 changetype: modify
 add: nsIndexType
 nsIndexType:sub
+
+dn: cn=memberof,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+changetype: add
+objectClass:top
+objectClass:nsIndex
+cn:memberof
+nsSystemIndex:false
+nsIndexType:eq

freeipa-noinit.patch:

--- NEW FILE freeipa-noinit.patch ---
>From d591b24a8fb453e5dd6726daa17c212b1090bb97 Mon Sep 17 00:00:00 2001
From: Simo Sorce <ssorce at redhat.com>
Date: Thu, 12 Jun 2008 16:59:32 -0400
Subject: [PATCH] Fix uninizialized counter, was causing allocation to fail and command to
 return in case any encryption type was explicitly requested

---
 ipa-client/ipa-getkeytab.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ipa-client/ipa-getkeytab.c b/ipa-client/ipa-getkeytab.c
index 8c95c35..c68ed4e 100644
--- a/ipa-client/ipa-getkeytab.c
+++ b/ipa-client/ipa-getkeytab.c
@@ -93,6 +93,7 @@ static int get_enctypes(krb5_context krbctx, const char *str,
 	if (!tmp) return 0;
 
 	/* count */
+        n = 0;
 	p = t;
 	while (p = strchr(t, ',')) {
 		t = p+1;
-- 
1.5.4.1


freeipa-replica-default.patch:

--- NEW FILE freeipa-replica-default.patch ---
>From bc08bb373119b3f634c99d1d4fd1e01abd973b43 Mon Sep 17 00:00:00 2001
From: Simo Sorce <ssorce at redhat.com>
Date: Thu, 12 Jun 2008 17:00:49 -0400
Subject: [PATCH] Change default.
 By default increment by one  but set the maximum value to one million.

when installing a replica change values to start from 1 million +1 and
cap it to 2 million and so on for any other replica.
---
 ipa-server/ipa-install/share/dna-posix.ldif |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ipa-server/ipa-install/share/dna-posix.ldif b/ipa-server/ipa-install/share/dna-posix.ldif
index e999b20..a884854 100644
--- a/ipa-server/ipa-install/share/dna-posix.ldif
+++ b/ipa-server/ipa-install/share/dna-posix.ldif
@@ -16,7 +16,8 @@ objectclass: extensibleObject
 cn: Accounts
 dnaType: uidNumber
 dnaNextValue: 1100
-dnaInterval: 4
+dnaInterval: 1
+dnaMaxValue: 1000000000
 dnaMagicRegen: 999
 dnaFilter: (objectclass=posixAccount)
 dnaScope: $SUFFIX
@@ -30,7 +31,8 @@ objectclass: extensibleObject
 cn: Groups
 dnaType: gidNumber
 dnaNextValue: 1100
-dnaInterval: 4
+dnaInterval: 1
+dnaMaxValue: 1000000000
 dnaMagicRegen: 999
 dnaFilter: (objectclass=posixGroup)
 dnaScope: $SUFFIX
-- 
1.5.4.1



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ipa/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	25 Apr 2008 13:34:06 -0000	1.3
+++ .cvsignore	18 Jun 2008 14:25:59 -0000	1.4
@@ -1 +1 @@
-freeipa-1.0.0.tar.gz
+freeipa-1.1.0.tar.gz


Index: ipa.spec
===================================================================
RCS file: /cvs/extras/rpms/ipa/devel/ipa.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ipa.spec	16 May 2008 15:04:49 -0000	1.11
+++ ipa.spec	18 Jun 2008 14:26:00 -0000	1.12
@@ -5,8 +5,8 @@
 %define POLICYCOREUTILSVER 1.33.12-1
 
 Name:           ipa
-Version:        1.0.0
-Release:        5%{?dist}
+Version:        1.1.0
+Release:        1%{?dist}
 Summary:        The Identity, Policy and Audit system
 
 Group:          System Environment/Base
@@ -15,10 +15,10 @@
 Source0:        freeipa-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Patch1:         freeipa-default-keytype.patch
-Patch2:         freeipa-nssperms.patch
-Patch3:         freeipa-dnsquery.patch
-
+Patch1:         freeipa-replica-default.patch
+Patch2:         freeipa-noinit.patch
+Patch3:         freeipa-memberofindex.patch
+Patch4:         freeipa-index.patch
 
 BuildRequires:  fedora-ds-base-devel >= 1.1
 BuildRequires:  mozldap-devel
@@ -132,6 +132,7 @@
 Requires: %{name}-python = %{version}-%{release}
 Requires: python-krbV
 Requires: python-ldap
+Requires: python-configobj
 
 %description admintools
 IPA is an integrated solution to provide centrally managed Identity (machine,
@@ -182,15 +183,16 @@
 
 %prep
 %setup -n freeipa-%{version} -q
-%patch1 -p1 -b .default-keytype
-%patch2 -p1 -b .nssperms
-%patch3 -p1 -b .dnsquery
+%patch1 -p1 -b replica-default
+%patch2 -p1 -b noinit
+%patch3 -p1 -b memberofindex
+%patch4 -p1 -b index
 
 %build
 cd ipa-server; ./autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir}; cd ..
 cd ipa-client; ./autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --libdir=%{_libdir} --mandir=%{_mandir}; cd ..
 
-make %{?_smp_mflags} all
+make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} version-update all
 cd ipa-server/selinux
 # This isn't multi-process make capable yet
 make all
@@ -300,6 +302,7 @@
 %{_sbindir}/ipa_kpasswd
 %{_sbindir}/ipa_webgui
 %{_sbindir}/ipactl
+%{_sbindir}/ipa-upgradeconfig
 %attr(755,root,root) %{_initrddir}/ipa_kpasswd
 %attr(755,root,root) %{_initrddir}/ipa_webgui
 %dir %{_usr}/share/ipa
@@ -431,6 +434,13 @@
 %{_sbindir}/ipa-modradiusprofile
 
 %changelog
+* Wed Jun 11 2008 Rob Crittenden <rcritten at redhat.com> - 1.1.0-1
+- Update to upstream version 1.1.0
+- Patch for indexing memberof attribute
+- Patch for indexing uidnumber and gidnumber
+- Patch to change DNA default values for replicas
+- Patch to fix uninitialized variable in ipa-getkeytab
+
 * Fri May 16 2008 Rob Crittenden <rcritten at redhat.com> - 1.0.0-5
 - Set fedora-ds-base minimum version to 1.1.0.1-4 and mod_nss minimum
   version to 1.0.7-4 so we pick up the NSS fixes.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ipa/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	25 Apr 2008 13:34:06 -0000	1.7
+++ sources	18 Jun 2008 14:26:00 -0000	1.8
@@ -1 +1 @@
-17454ef23c01a16fed24427942f64f32  freeipa-1.0.0.tar.gz
+3ac7a3f696427819152d209a68fe8f6c  freeipa-1.1.0.tar.gz




More information about the fedora-extras-commits mailing list