diff options
author | Volker Lendecke <vl@samba.org> | 2019-02-26 12:52:28 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-03-12 11:25:42 +0000 |
commit | c031b9e23acc3705116460077d0d93713cb0ce24 (patch) | |
tree | 6fed5ab24ce4e2bc1b623aa6e23f74e30bc80206 | |
parent | b0a1d90050c54bb22006b5c0e3c67187c20e7f04 (diff) | |
download | samba-c031b9e23acc3705116460077d0d93713cb0ce24.tar.gz |
winbind: Initialize "expired" parameter to idmap_cache_xid2sid
The code in idmap_cache only touches its output parameters upon success
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
(cherry picked from commit 8c28c12702c0935a852c7fed6565987623f09fee)
-rw-r--r-- | source3/winbindd/wb_xids2sids.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/wb_xids2sids.c b/source3/winbindd/wb_xids2sids.c index 766092b2664..5be55d59b75 100644 --- a/source3/winbindd/wb_xids2sids.c +++ b/source3/winbindd/wb_xids2sids.c @@ -463,7 +463,7 @@ struct tevent_req *wb_xids2sids_send(TALLOC_CTX *mem_ctx, for (i=0; i<num_xids; i++) { struct dom_sid sid = {0}; - bool ok, expired; + bool ok, expired = true; switch (xids[i].type) { case ID_TYPE_UID: |