winbindd: Do not ignore domain in the LOOKUPNAME request
authorChristof Schmitt <cs@samba.org>
Wed, 28 Feb 2018 19:05:34 +0000 (12:05 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 6 Apr 2018 19:03:31 +0000 (21:03 +0200)
commit1775ac8aa4dc00b9a0845ade238254ebb8b32429
treee094773db72f7902c667412f5ec5340463310aa2
parent552a00ec1f6795b9025298931a6cc50ebe552052
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
selftest/knownfail
source3/winbindd/winbindd_lookupname.c