summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-01-21 03:07:53 -0500
committerRob Crittenden <rcritten@redhat.com>2011-01-28 10:23:02 -0500
commit884f43f0db6da9243dd4315bdb9b481935be2456 (patch)
tree957c693ccedd4b2bb4d4a448fff18fcd7c04e740 /API.txt
parent7b04b2240b92cc586fc06a8686c3616b020137fe (diff)
downloadfreeipa-884f43f0db6da9243dd4315bdb9b481935be2456.tar.gz
freeipa-884f43f0db6da9243dd4315bdb9b481935be2456.tar.xz
freeipa-884f43f0db6da9243dd4315bdb9b481935be2456.zip
Add support for account unlocking
This patch adds command ipa user-unlock and some LDAP modifications which are required by Kerberos for unlocking to work. Ticket: https://fedorahosted.org/freeipa/ticket/344
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/API.txt b/API.txt
index 42ba61f4..703978f5 100644
--- a/API.txt
+++ b/API.txt
@@ -2614,3 +2614,9 @@ option: Str('version?', exclude='webui', flags=['no_option', 'no_output'])
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly description of action performed')
output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
+command: user_unlock
+args: 1,0,3
+arg: Str('uid', attribute=True, cli_name='login', default_from=DefaultFrom(<lambda>, 'givenname', 'sn'), label=Gettext('User login', domain='ipa', localedir=None), maxlength=255, multivalue=False, normalizer=<lambda>, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', pattern_errmsg='may only include letters, numbers, _, -, . and $', primary_key=True, query=True, required=True)
+output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly description of action performed')
+output: Output('result', <type 'bool'>, 'True means the operation was successful')
+output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")