samba-tool: Speed up all samba-tool commands
authorGarming Sam <garming@catalyst.net.nz>
Fri, 15 Jul 2016 02:29:02 +0000 (14:29 +1200)
committerGarming Sam <garming@samba.org>
Wed, 20 Jul 2016 10:47:24 +0000 (12:47 +0200)
commita464a897f346a3296e30a5920509922efb4949c1
treef2956bbfc28ab01d16eb18c9d2656a7b0fc804a8
parent698f6517866f567e999baf5b63ec7e6f5e9452a8
samba-tool: Speed up all samba-tool commands

This in particular helps the docs.py test halve in time (at least on my machine)

NOTE: The removal of enable_null_tracking is required because we are no
longer importing join.py in every single samba-tool invocation. Without
removing this line, memory would be hanging from both the actual NULL
context and the talloc_null_context (causing a segfault at system_exit).

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Wed Jul 20 12:47:24 CEST 2016 on sn-devel-144
python/samba/netcmd/main.py