From 884f43f0db6da9243dd4315bdb9b481935be2456 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Fri, 21 Jan 2011 03:07:53 -0500 Subject: 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 --- API.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'API.txt') diff --git a/API.txt b/API.txt index 42ba61f48..703978f57 100644 --- a/API.txt +++ b/API.txt @@ -2614,3 +2614,9 @@ option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "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(, 'givenname', 'sn'), label=Gettext('User login', domain='ipa', localedir=None), maxlength=255, multivalue=False, normalizer=, 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', (, ), 'User-friendly description of action performed') +output: Output('result', , 'True means the operation was successful') +output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") -- cgit