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
(cherry picked from commit
1f9501cad63717d6e4ea01974f853b199f359b40)
* All we can do here is to report "not mapped"
*/
for (i=0; i<src->num_ids; i++) {
- src->ids[i].type = ID_TYPE_NOT_SPECIFIED;
+ src->ids[i].xid.type = ID_TYPE_NOT_SPECIFIED;
}
}