summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorDrew Erny <derny@redhat.com>2015-06-04 14:02:12 -0400
committerPetr Vobornik <pvoborni@redhat.com>2015-06-05 19:31:18 +0200
commita57998f51eb8b62052fe021a68503eed4714c6d3 (patch)
tree14631f1a97bbeb2ff39a3af87e2af9b66e5d71a8 /API.txt
parent13700d9d3f9abd25c80af5edf406e7057e04f318 (diff)
downloadfreeipa-a57998f51eb8b62052fe021a68503eed4714c6d3.tar.gz
freeipa-a57998f51eb8b62052fe021a68503eed4714c6d3.tar.xz
freeipa-a57998f51eb8b62052fe021a68503eed4714c6d3.zip
Migration now accepts scope as argument
Adds a new option to command ipa migrate-ds, --scope=[base,onelevel,subtree] which allows the user to specify LDAP search depth for users and groups. 'onelevel' was the hard-coded level before this patch and is still default. Specify 'subtree' to search nested OUs for users and groups. https://fedorahosted.org/freeipa/ticket/2547 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/API.txt b/API.txt
index c47d800b1..eca4e3020 100644
--- a/API.txt
+++ b/API.txt
@@ -2522,7 +2522,7 @@ output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDA
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: PrimaryKey('value', None, None)
command: migrate_ds
-args: 2,19,4
+args: 2,20,4
arg: Str('ldapuri', cli_name='ldap_uri')
arg: Password('bindpw', cli_name='password', confirm=False)
option: DNParam('basedn?', cli_name='base_dn')
@@ -2538,6 +2538,7 @@ option: Str('groupignoreobjectclass*', autofill=True, cli_name='group_ignore_obj
option: Str('groupobjectclass+', autofill=True, cli_name='group_objectclass', csv=True, default=(u'groupOfUniqueNames', u'groupOfNames'))
option: Flag('groupoverwritegid', autofill=True, cli_name='group_overwrite_gid', default=False)
option: StrEnum('schema?', autofill=True, cli_name='schema', default=u'RFC2307bis', values=(u'RFC2307bis', u'RFC2307'))
+option: StrEnum('scope', autofill=True, cli_name='scope', default=u'onelevel', values=(u'base', u'subtree', u'onelevel'))
option: Bool('use_def_group?', autofill=True, cli_name='use_default_group', default=True)
option: DNParam('usercontainer', autofill=True, cli_name='user_container', default=ipapython.dn.DN('ou=people'))
option: Str('userignoreattribute*', autofill=True, cli_name='user_ignore_attribute', csv=True, default=())