summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/misc.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2010-11-23 09:02:54 -0500
committerAdam Young <ayoung@redhat.com>2010-11-23 21:29:08 -0500
commit5060fdfade63f299bf3ad15c16a1aff06135b80f (patch)
tree4c6d5c7b5968c21e9af72423c25fe4a5e9b8a933 /ipalib/plugins/misc.py
parent6d51a48af8afc52a0bf3f9437b2de1c2b8c1c0d4 (diff)
downloadfreeipa-5060fdfade63f299bf3ad15c16a1aff06135b80f.tar.gz
freeipa-5060fdfade63f299bf3ad15c16a1aff06135b80f.tar.xz
freeipa-5060fdfade63f299bf3ad15c16a1aff06135b80f.zip
Change signature of LDAPSearch.pre_callback.
Add the opportunity to change base DN and scope in the callback.
Diffstat (limited to 'ipalib/plugins/misc.py')
-rw-r--r--ipalib/plugins/misc.py10
1 files changed, 10 insertions, 0 deletions
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',