From 5060fdfade63f299bf3ad15c16a1aff06135b80f Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Tue, 23 Nov 2010 09:02:54 -0500 Subject: Change signature of LDAPSearch.pre_callback. Add the opportunity to change base DN and scope in the callback. --- ipalib/plugins/misc.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ipalib/plugins/misc.py') diff --git a/ipalib/plugins/misc.py b/ipalib/plugins/misc.py index d66e6964..d7529ca0 100644 --- a/ipalib/plugins/misc.py +++ b/ipalib/plugins/misc.py @@ -109,6 +109,16 @@ class plugins(LocalOrRemote): '%(count)d plugin loaded', '%(count)d plugins loaded' ) + takes_options = LocalOrRemote.takes_options + ( + Flag('all', + cli_name='all', + doc=_('retrieve and print all attributes from the server. Affects command output.'), + exclude='webui', + flags=['no_output'], + default=True, + ), + ) + has_output = ( Output('result', dict, 'Dictionary mapping plugin names to bases'), Output('count', -- cgit