s4:samba-tool: ldapcmp needs CredentialsOptionsDouble
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Jul 2011 12:23:34 +0000 (14:23 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Jul 2011 15:09:32 +0000 (17:09 +0200)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 26 17:09:32 CEST 2011 on sn-devel-104

source4/scripting/python/samba/netcmd/ldapcmp.py

index 44badce2e93fb448b5b2ee8803639fbbdc453743..0b02e04e530b9c697f196c0e9d87530b3685c165 100755 (executable)
@@ -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 = [