summaryrefslogtreecommitdiffstats
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:16 +0100
commit014ccb13b6cfad6c03733104ecc3d288a2ce7a8c (patch)
treed658fe1baf83a455e704bb1f825b326e7540151d
parentcfaaeb9dadbb30cea0b1306f065c485d2dd82974 (diff)
downloadfreeipa-014ccb13b6cfad6c03733104ecc3d288a2ce7a8c.tar.gz
freeipa-014ccb13b6cfad6c03733104ecc3d288a2ce7a8c.tar.xz
freeipa-014ccb13b6cfad6c03733104ecc3d288a2ce7a8c.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
-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 = (