summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-26 14:23:34 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-26 17:09:32 +0200
commit14d5983d4d014f8a4b2ab3dc9c38ad94f041355f (patch)
tree7e57e6dba9583cbd366c6e7f704b02bd4b2fc26a /source4
parent749868ede4cf2d3888135716d98d38dff020cae3 (diff)
downloadsamba-14d5983d4d014f8a4b2ab3dc9c38ad94f041355f.tar.gz
samba-14d5983d4d014f8a4b2ab3dc9c38ad94f041355f.tar.bz2
samba-14d5983d4d014f8a4b2ab3dc9c38ad94f041355f.zip
s4:samba-tool: ldapcmp needs CredentialsOptionsDouble
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 26 17:09:32 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/python/samba/netcmd/ldapcmp.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/netcmd/ldapcmp.py b/source4/scripting/python/samba/netcmd/ldapcmp.py
index 44badce2e9..0b02e04e53 100755
--- a/source4/scripting/python/samba/netcmd/ldapcmp.py
+++ b/source4/scripting/python/samba/netcmd/ldapcmp.py
@@ -842,6 +842,12 @@ class cmd_ldapcmp(Command):
"""compare two ldap databases"""
synopsis = "ldapcmp URL1 URL2 <domain|configuration|schema> [options]"
+ takes_optiongroups = {
+ "sambaopts": options.SambaOptions,
+ "versionopts": options.VersionOptions,
+ "credopts": options.CredentialsOptionsDouble,
+ }
+
takes_args = ["URL1", "URL2", "context1?", "context2?", "context3?"]
takes_options = [