summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/smb2/request.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c
index 93f8043d0c..28e7018ecc 100644
--- a/source4/libcli/smb2/request.c
+++ b/source4/libcli/smb2/request.c
@@ -70,8 +70,7 @@ struct smb2_request *smb2_request_init(struct smb2_transport *transport,
SBVAL(req->out.hdr, SMB2_HDR_SEQNUM, req->seqnum);
SIVAL(req->out.hdr, SMB2_HDR_PID, 0);
SIVAL(req->out.hdr, SMB2_HDR_TID, 0);
- SIVAL(req->out.hdr, SMB2_HDR_UID, 0);
- SIVAL(req->out.hdr, SMB2_HDR_UID2, 0);
+ SBVAL(req->out.hdr, SMB2_HDR_UID, (uint64_t)0);
memset(req->out.hdr+SMB2_HDR_SIG, 0, 16);
return req;