winbindd: fix trust_is_oubound()
authorRalph Boehme <slow@samba.org>
Tue, 28 Nov 2017 16:46:03 +0000 (17:46 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 13 Jan 2018 11:55:08 +0000 (12:55 +0100)
commitf12a43f4876b4a6bf556ea760ffe8e21f2acacf8
tree36c88ccb689af06f209075958e7cb2bd13b5fb63
parent09021f920faba4dc4d2b2e1c0d3d4432e1a759d5
winbindd: fix trust_is_oubound()

A trust is only inbound if NETR_TRUST_FLAG_OUTBOUND is set. Trust flags = 0x0
does not imply an outbound trust, nor does NETR_TRUST_FLAG_IN_FOREST.

Signed-off-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_misc.c