Shan Kumaraswamy wrote:
Dear All,
Greetings, I am planning to deploy FreeIPA (stable version 1.2.2) under RHEL 5 server (not a client) using RHDS 8.1, please clarify me, whether the FreeIPA 1.2.2 will complie and install in RHEL 5 Server using RHDS 8.1 version?

Sure.

% cd rpmbuild/SOURCES
% wget http://kojipkgs.fedoraproject.org/packages/ipa/1.2.2/2.fc11/src/ipa-1.2.2-2.fc11.src.rpm
% rpm2cpio ipa-1.2.2-2.fc11.src.rpm |cpio -idv
% <apply this patch to ipa.spec>
--- ipa.spec.orig       2010-02-03 10:22:04.000000000 -0500
+++ ipa.spec    2010-02-03 10:25:23.000000000 -0500
@@ -16,7 +16,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch1:         ipa-schema.patch

-BuildRequires:  fedora-ds-base-devel >= 1.1.3
+BuildRequires:  redhat-ds-base-devel >= 8.1
 BuildRequires:  mozldap-devel
 BuildRequires:  svrcore-devel
 BuildRequires:  nspr-devel
@@ -30,7 +30,7 @@
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
-BuildRequires:  popt-devel
+BuildRequires:  popt
 BuildRequires:  /usr/share/selinux/devel/Makefile
 BuildRequires:  m4
 BuildRequires:  policycoreutils >= %{POLICYCOREUTILSVER}
@@ -49,7 +49,7 @@
 Requires: %{name}-client = %{version}-%{release}
 Requires: %{name}-admintools = %{version}-%{release}
 Requires(post): %{name}-server-selinux = %{version}-%{release}
-Requires: fedora-ds-base >= 1.1.3
+Requires: redhat-ds-base >= 8.1
 Requires: openldap-clients
 Requires: nss
 Requires: nss-tools

% rpmbuild -ba ipa.spec
% su
# cd ../RPMS/x86_64
# rpm -Uvh ipa-admintools-1.2.2-2.x86_64.rpm ipa-client-1.2.2-2.x86_64.rpm ipa-python-1.2.2-2.x86_64.rpm ipa-server-1.2.2-2.x86_64.rpm ipa-server-selinux-1.2.2-2.x86_64.rpm
# /usr/sbin/ipa-server-install
# kinit admin
# /usr/sbin/ipa-finduser admin
Home Directory: /home/admin
Login Shell: /bin/bash
Last Name: Administrator
Login: admin

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

The UI works too:

# curl -k --negotiate -u : https://ipa.example.com/ipa/ui 2>&1 | grep Logged
        <span>Logged in as: admin </span>

rob

_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to