freeipa/ipapython
Fraser Tweedale 27988f1b83 Prohibit deletion of predefined profiles
Deletion of predefined profiles, including the default profile,
should not be allowed.  Detect this case and raise an error.

Also update the predefined profiles collection to use namedtuple,
making it easier to access the various components.

Fixes: https://fedorahosted.org/freeipa/ticket/5198
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2015-08-18 19:44:43 +02:00
..
dnssec Use absolute imports 2015-08-12 18:17:23 +02:00
install install: Fix logging setup in server and replica install 2015-06-12 05:46:31 +00:00
ipap11helper Update PKCS#11 mechanism constants for AES key wrapping to PKCS#11 v2.40. 2015-06-11 13:19:17 +02:00
py_default_encoding Use /usr/bin/python2 2014-01-03 09:46:05 +01:00
__init__.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
admintool.py Use Exception class instead of StandardError 2015-07-27 18:01:34 +02:00
certdb.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
certmonger.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
config.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
cookie.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
dn.py Remove Editable DN and DN component classes 2015-04-23 11:34:39 +00:00
dnsutil.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
dogtag.py Prohibit deletion of predefined profiles 2015-08-18 19:44:43 +02:00
errors.py Move setting SELinux booleans to platform code 2014-09-26 12:12:59 +02:00
graph.py ipa-replica-manage del: relax segment deletement check if topology is disconnected 2015-07-03 08:47:23 +02:00
ipa_log_manager.py Use absolute imports 2015-08-12 18:17:23 +02:00
ipa.conf Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
ipaldap.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
ipautil.py Replace dict.has_key with the 'in' operator 2015-08-12 18:17:23 +02:00
ipavalidate.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
kernel_keyring.py Allow kernel keyring CCACHE when supported 2013-12-09 12:21:22 +01:00
log_manager.py Replace dict.has_key with the 'in' operator 2015-08-12 18:17:23 +02:00
Makefile install: Introduce installer framework ipapython.install 2015-06-08 15:34:11 +00: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 Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
p11helper.py ipapython: Fix incorrect python shebangs 2015-01-26 13:03:24 +01:00
README Replace DNS client based on acutil with python-dns 2012-05-24 13:55:56 +02:00
setup.py.in install: Introduce installer framework ipapython.install 2015-06-08 15:34:11 +00:00
ssh.py Add support for RFC 6594 SSHFP DNS records. 2013-02-01 09:16:09 -05:00
sysrestore.py Replace dict.has_key with the 'in' operator 2015-08-12 18:17:23 +02:00
version.py.in ipalib.version: Add VENDOR_VERSION 2014-05-27 12:08:54 +02: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 python-dns to
            try to detect this information first and will fall back to
            /etc/ipa/default.conf if that fails.

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