samba-tool: "drs options" does not need a samdb connection
authorAndrew Tridgell <tridge@samba.org>
Thu, 1 Nov 2012 02:31:47 +0000 (13:31 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 1 Nov 2012 04:40:41 +0000 (15:40 +1100)
this gives us a handy pure RPC client test for use in blackbox testing

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

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

index 074b7af7e474046e88c2857486eb8370b72e89a9..ff8d8304ebf85326d19da04bd6c1c6c2468eeeb5 100644 (file)
@@ -361,7 +361,6 @@ class cmd_drs_bind(Command):
         self.creds = credopts.get_credentials(self.lp, fallback_machine=True)
 
         drsuapi_connect(self)
-        samdb_connect(self)
 
         bind_info = drsuapi.DsBindInfoCtr()
         bind_info.length = 28