winbindd: Do not ignore domain in the LOOKUPNAME request
commitbb5526d01fabd308d848a0b72332a2361438fcf5
authorChristof Schmitt <cs@samba.org>
Wed, 28 Feb 2018 19:05:34 +0000 (28 12:05 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Apr 2018 15:11:19 +0000 (11 17:11 +0200)
tree629d225ad9c33a1f78bed9e8d89a3cccde76195a
parent40ee7863a558568c69ee990fb8405ab51febae34
winbindd: Do not ignore domain in the LOOKUPNAME request

A LOOKUPNAME request with a domain and a name containing a winbind
separator character would return the result for the joined domain,
instead of the specified domain.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Apr  6 21:03:31 CEST 2018 on sn-devel-144

(cherry picked from commit 1775ac8aa4dc00b9a0845ade238254ebb8b32429)

Autobuild-User(v4-8-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-8-test): Wed Apr 11 17:11:21 CEST 2018 on sn-devel-144
selftest/knownfail
source3/winbindd/winbindd_lookupname.c