winbind: make sure we don't contact trusted domains via SAMR as AD DC
commit24f8170833f63894b3caf3b05f215767dd789e73
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Feb 2018 09:33:48 +0000 (22 10:33 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 27 Feb 2018 15:00:14 +0000 (27 16:00 +0100)
treeb9e6475eb1432690189ffda0e51713061914eeaf
parentae962f80d407549c83032b49ea3f699695317bcb
winbind: make sure we don't contact trusted domains via SAMR as AD DC

This is not needed for the normal operation of an AD DC.

Administrators should just use other tools instead of
wbinfo to list and query users and groups.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13278

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 32a63e3ea985c967ca2aadbcd9e0c60ade2d0367)
source3/winbindd/winbindd_cm.c