summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorOndrej Hamada <ohamada@redhat.com>2012-03-01 11:41:53 +0100
committerRob Crittenden <rcritten@redhat.com>2012-02-29 18:30:03 -0500
commit73249140fce64e56ddf5cd70441804a627b0cc34 (patch)
tree7b10ac3973dd1e3f228798774ff0fc7f818d4d7a /API.txt
parent0099ccbea829203a14013255aa0a4058d4d58a36 (diff)
downloadfreeipa.git-73249140fce64e56ddf5cd70441804a627b0cc34.tar.gz
freeipa.git-73249140fce64e56ddf5cd70441804a627b0cc34.tar.xz
freeipa.git-73249140fce64e56ddf5cd70441804a627b0cc34.zip
Migration warning when compat enabled
Added check into migration plugin to warn user when compat is enabled. If compat is enabled, the migration fails and user is warned that he must turn the compat off or run the script with (the newly introduced) option '--with-compat'. '--with-compat' is new flag. If it is set, the compat status is ignored. https://fedorahosted.org/freeipa/ticket/2274
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/API.txt b/API.txt
index dadd9c11..9d744460 100644
--- a/API.txt
+++ b/API.txt
@@ -1893,7 +1893,7 @@ output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
output: Output('value', <type 'unicode'>, None)
command: migrate_ds
-args: 2,15,3
+args: 2,16,4
arg: Str('ldapuri', cli_name='ldap_uri')
arg: Password('bindpw', cli_name='password', confirm=False)
option: Str('binddn?', autofill=True, cli_name='bind_dn', default=u'cn=directory manager')
@@ -1909,11 +1909,13 @@ option: Flag('groupoverwritegid', autofill=True, cli_name='group_overwrite_gid',
option: StrEnum('schema?', autofill=True, cli_name='schema', default=u'RFC2307bis', values=(u'RFC2307bis', u'RFC2307'))
option: Flag('continue?', autofill=True, default=False)
option: Str('basedn?', cli_name='base_dn')
+option: Flag('compat?', autofill=True, cli_name='with_compat', default=False)
option: Str('exclude_groups*', autofill=True, cli_name='exclude_groups', csv=True, default=())
option: Str('exclude_users*', autofill=True, cli_name='exclude_users', csv=True, default=())
output: Output('result', <type 'dict'>, None)
output: Output('failed', <type 'dict'>, None)
output: Output('enabled', <type 'bool'>, None)
+output: Output('compat', <type 'bool'>, None)
command: netgroup_add
args: 1,9,3
arg: Str('cn', attribute=True, cli_name='name', multivalue=False, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]+$', pattern_errmsg='may only include letters, numbers, _, -, and .', primary_key=True, required=True)