winbindd: fix trust_is_inbound()
authorRalph Boehme <slow@samba.org>
Tue, 28 Nov 2017 16:44:41 +0000 (17:44 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 13 Jan 2018 11:55:08 +0000 (12:55 +0100)
commit09021f920faba4dc4d2b2e1c0d3d4432e1a759d5
treed85ea33901159913a1161a181008706b10a8c996
parenta39cf19c2514d8f249951b77078683dd6a53504e
winbindd: fix trust_is_inbound()

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

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