samba-tool: Ensure commands don't crash without ad-dc
commita45ea91cd7e8335319c96ea5bda02014f584df63
authorDavid Mulder <dmulder@suse.com>
Thu, 17 Jun 2021 21:20:41 +0000 (17 15:20 -0600)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 20 Jun 2021 22:06:36 +0000 (20 22:06 +0000)
tree38b12453f58bd441d6b87105e7fd60dd36c2c13e
parentf241fe5d46e8dd2b3265be7eddbd6686a6f920db
samba-tool: Ensure commands don't crash without ad-dc

This simply ensures against import errors when
samba is built without the ad-dc. Calling every
help message guarantees the imports succeeded.
The test is intentionally run against the
fileserver test environment, because it's
configured --without-ad-dc and does not disable
ads.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/selftest/tests.py