winbind: Fix passing idmap failure from wb_sids2xids back to callers
commit1f9501cad63717d6e4ea01974f853b199f359b40
authorChristof Schmitt <cs@samba.org>
Mon, 26 Sep 2016 21:27:28 +0000 (26 14:27 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 30 Sep 2016 00:10:29 +0000 (30 02:10 +0200)
tree68db83269691b631880c6b37294182caec27a5cf
parent7a3b7804cba53a21739e8912b005ab498e921eb7
winbind: Fix passing idmap failure from wb_sids2xids back to callers

If the idmap call in wb_sids2xids fails, the callers expect xid.type to
be set to ID_TYPE_NOT_SPECIFIED, not the internal type field that is
initialized from the lookupsids call.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Sep 30 02:10:29 CEST 2016 on sn-devel-144
source3/winbindd/wb_sids2xids.c