summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dual_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_dual_srv.c')
-rw-r--r--source3/winbindd/winbindd_dual_srv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c
index 9fb29115cd..35d9451177 100644
--- a/source3/winbindd/winbindd_dual_srv.c
+++ b/source3/winbindd/winbindd_dual_srv.c
@@ -222,9 +222,12 @@ NTSTATUS _wbint_Sids2UnixIDs(struct pipes_struct *p,
struct wbint_TransID *id = &r->in.ids->ids[id_idx[j]];
if (ids[j].status != ID_MAPPED) {
+ id->xid.id = UINT32_MAX;
+ id->xid.type = ID_TYPE_NOT_SPECIFIED;
continue;
}
- id->unix_id = ids[j].xid.id;
+
+ id->xid = ids[j].xid;
}
}
status = NT_STATUS_OK;