summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/baseuser.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-06-30 06:37:52 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-30 16:32:20 +0200
commit0f578ec36ccb3ceb91d64e3967a4fcd01b240895 (patch)
tree492d4aabe215f7b57c7a3fd5198c0cc6b03f2102 /ipaserver/plugins/baseuser.py
parentae5f11b4de1d5e353a2e1b8345e316949f4b75ed (diff)
downloadfreeipa-0f578ec36ccb3ceb91d64e3967a4fcd01b240895.tar.gz
freeipa-0f578ec36ccb3ceb91d64e3967a4fcd01b240895.tar.xz
freeipa-0f578ec36ccb3ceb91d64e3967a4fcd01b240895.zip
user: add object plugin for user_status
Change user_status from a method of user to a method of a new userstatus class, which defines the extra attributes returned by user_status. This fixes user_status CLI output. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipaserver/plugins/baseuser.py')
-rw-r--r--ipaserver/plugins/baseuser.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/ipaserver/plugins/baseuser.py b/ipaserver/plugins/baseuser.py
index 8087418d1..9c4af66f9 100644
--- a/ipaserver/plugins/baseuser.py
+++ b/ipaserver/plugins/baseuser.py
@@ -61,24 +61,6 @@ baseuser_output_params = (
),
)
-status_baseuser_output_params = (
- Str('server',
- label=_('Server'),
- ),
- Str('krbloginfailedcount',
- label=_('Failed logins'),
- ),
- Str('krblastsuccessfulauth',
- label=_('Last successful authentication'),
- ),
- Str('krblastfailedauth',
- label=_('Last failed authentication'),
- ),
- Str('now',
- label=_('Time now'),
- ),
- )
-
UPG_DEFINITION_DN = DN(('cn', 'UPG Definition'),
('cn', 'Definitions'),
('cn', 'Managed Entries'),