freeipa/ipa-server/ipa-install
Mark McLoughlin 4a162f6fc8 Add ipa-server-install --uninstall
Add a --uninstall option to ipa-server-install which tries to
restore the system to the way it was before ipa-server-install
was run using the state backed up through sysrestore.py.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2008-01-11 11:57:36 +00:00
..
share Big changeset that includes the work around keytab management. 2007-12-21 11:37:19 -05:00
ipa-replica-install - Enable ssl for replication. 0001-01-01 00:00:00 +00:00
ipa-replica-manage - Enable ssl for replication. 0001-01-01 00:00:00 +00:00
ipa-replica-prepare Convert replication to use the new cert infrastructure and 0001-01-01 00:00:00 +00:00
ipa-server-certinstall User provided certs. 0001-01-01 00:00:00 +00:00
ipa-server-install Add ipa-server-install --uninstall 2008-01-11 11:57:36 +00:00
Makefile.am - Enable ssl for replication. 0001-01-01 00:00:00 +00:00
README Give ipa-adduser, ipa-addgroup and ipa-usermod an interactive mode 2007-09-21 10:24:36 -04:00

Required packages:

krb5-server
fedora-ds-base
fedora-ds-base-devel
openldap-clients
openldap-devel
krb5-server-ldap
cyrus-sasl-gssapi
httpd
mod_auth_kerb
ntp
openssl-devel
nspr-devel
nss-devel
mozldap-devel
mod_python
gcc
python-ldap
TurboGears
PyKerberos
python-krbV

Installation example:

TEMPORARY: until bug https://bugzilla.redhat.com/show_bug.cgi?id=248169 is
           fixed.

Please apply the fedora-ds.init.patch in freeipa/ipa-server/ipa-install/share/
to patch your init scripts before running ipa-server-install. This tells
FDS where to find its kerberos keytab.

Things done as root are denoted by #. Things done as a unix user are denoted
by %.

# cd freeipa
# patch -p0 < ipa-server/ipa-install/share/fedora-ds.init.patch

Now to do the installation.

# cd freeipa
# make install

To start an interactive installation use:
# /usr/sbin/ipa-server-install 

For more verbose output add the -d flag run the command with -h to see all options

You have a basic working system with one super administrator (named admin).

To create another administrative user:

% kinit admin@FREEIPA.ORG
% /usr/sbin/ipa-adduser -f Test -l User test
% ldappasswd -Y GSSAPI -h localhost -s password uid=test,cn=users,cn=accounts,dc=freeipa,dc=org
% /usr/sbin/ipa-groupmod -a test admins

An admin user is just a regular user in the group admin.

Now you can destroy the old ticket and log in as test:

% kdestroy
% kinit test@FREEIPA.ORG
% /usr/sbin/ipa-finduser test