summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/trust.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2014-01-17 16:13:17 +0100
committerMartin Kosek <mkosek@redhat.com>2014-01-20 18:24:09 +0100
commit511a5f248b173198ee77df9589a7922b2c890e24 (patch)
treeeed7016987aabdf9cb0bdbdf5b181ca8f12b7d2c /ipalib/plugins/trust.py
parent2adfaa3a9bd94707d9cc78f9fb6bd85d53477db2 (diff)
downloadfreeipa-511a5f248b173198ee77df9589a7922b2c890e24.tar.gz
freeipa-511a5f248b173198ee77df9589a7922b2c890e24.tar.xz
freeipa-511a5f248b173198ee77df9589a7922b2c890e24.zip
Hide trust-resolve command
We do not need to expose a public FreeIPA specific interface to resolve SIDs to names. The interface is only used internally to resolve SIDs when external group members are listed. Additionally, the command interface is not prepared for regular user and can give rather confusing results. Hide it from CLI. The API itself is still accessible and compatible with older clients. https://fedorahosted.org/freeipa/ticket/4113
Diffstat (limited to 'ipalib/plugins/trust.py')
-rw-r--r--ipalib/plugins/trust.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py
index 3d412c9c9..0b6db27c6 100644
--- a/ipalib/plugins/trust.py
+++ b/ipalib/plugins/trust.py
@@ -978,6 +978,7 @@ if _nss_idmap_installed:
return unicode(string)
class trust_resolve(Command):
+ NO_CLI = True
__doc__ = _('Resolve security identifiers of users and groups in trusted domains')
takes_options = (