freeipa/ipapython
Martin Kosek 241ee334de Connection check program for replica installation
When connection between a master machine and future replica is not
sane, the replica installation may fail unexpectedly with
inconvenient error messages. One common problem is misconfigured
firewall.

This patch adds a program ipa-replica-conncheck which tests the
connection using the following procedure:

1) Execute the on-replica check testing the connection to master
2) Open required ports on local machine
3) Ask user to run the on-master part of the check OR run it
   automatically:
     a) kinit to master as default admin user with given password
     b) run the on-master part using ssh
4) When master part is executed, it checks connection back to
   the replica and prints the check result

This program is run by ipa-replica-install as mandatory part. It
can, however, be skipped using --skip-conncheck option.
ipa-replica-install now requires password for admin user to run
the command on remote master.

https://fedorahosted.org/freeipa/ticket/1107
2011-06-08 09:29:52 +02:00
..
py_default_encoding Unused value in initdefault_encoding_utf8 2011-01-25 08:59:50 -05:00
test Fix failed tests. API for utcoffset changed and strings are more robust. 2011-01-24 14:34:38 -05:00
__init__.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
certdb.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
certmonger.py If --hostname is provided for ipa-client-install use it everywhere. 2011-03-08 10:23:07 -05:00
config.py Parse netmasks in IP addresses passed to server install. 2011-05-30 13:36:26 +02:00
dnsclient.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
dogtag.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
entity.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
ipa.conf Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
ipautil.py Connection check program for replica installation 2011-06-08 09:29:52 +02:00
ipavalidate.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
Makefile Add default python encoding module to reset default from ascii to utf-8 2010-10-22 21:39:20 -04:00
MANIFEST.in Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
nsslib.py Remove unused classes. 2011-04-20 14:36:32 -04:00
README Remove radius options completely. 2011-01-14 14:06:56 -05:00
setup.py.in Execute /usr/bin/python directly instead of /usr/bin/env python 2011-01-14 16:27:48 -05:00
sysrestore.py Inconsistent sysrestore file handling by IPA server installer 2011-03-03 11:02:02 -05:00
version.py.in Add API version and have server reject incompatible clients. 2011-01-14 14:26:22 -05:00

This is a set of libraries common to IPA clients and servers though mostly
geared currently towards command-line tools.

A brief overview:

config.py - identify the IPA server domain and realm. It uses dnsclient to
            try to detect this information first and will fall back to
            /etc/ipa/default.conf if that fails.
dnsclient.py - find IPA information via DNS

ipautil.py - helper functions

entity.py - entity is the main data type. User and Group extend this class
            (but don't add anything currently).

ipavalidate.py - basic data validation routines