winbind: Correcly pass !authoritative from wb_irpc_SamLogon
authorVolker Lendecke <vl@samba.org>
Sat, 4 Mar 2017 17:40:09 +0000 (18:40 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 7 Mar 2017 12:16:00 +0000 (13:16 +0100)
commitb7966221c799006af735c9f962ab68291beb53fd
tree892ddabd9e8211f26b15d8da5cc81afc9799912d
parenta6f4e603063b540f37a1b8774dd9253dd595a913
winbind: Correcly pass !authoritative from wb_irpc_SamLogon

Returning an error at this level gives a RPC level error without the chance to
provide !authoritative flag to the caller. At the RPC level we're fine, but not
finding the domain to authenticate means that we don't know the domain and thus
have to return !authoritative.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Mar  7 13:16:00 CET 2017 on sn-devel-144
source3/winbindd/winbindd_irpc.c