From: Andrew Tridgell Date: Thu, 1 Nov 2012 02:31:47 +0000 (+1100) Subject: samba-tool: "drs options" does not need a samdb connection X-Git-Tag: ldb-1.1.14~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=538dd046f1efefbeb8660ef1ff5afd594a003341;p=thirdparty%2Fsamba.git samba-tool: "drs options" does not need a samdb connection this gives us a handy pure RPC client test for use in blackbox testing Pair-Programmed-With: Andrew Bartlett --- diff --git a/source4/scripting/python/samba/netcmd/drs.py b/source4/scripting/python/samba/netcmd/drs.py index 074b7af7e47..ff8d8304ebf 100644 --- a/source4/scripting/python/samba/netcmd/drs.py +++ b/source4/scripting/python/samba/netcmd/drs.py @@ -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