1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

add support for 32 bit pid using the PIDHIGH field. This allows the

test suite to see if it is supported. w2k3 doesn't seem to support it.
(This used to be commit c946be06a4)
This commit is contained in:
Andrew Tridgell
2003-08-13 02:02:17 +00:00
parent e063ea70ad
commit b05a2aad54
2 changed files with 3 additions and 2 deletions

View File

@ -176,7 +176,8 @@ struct cli_request *cli_request_setup_session(struct cli_session *session,
}
SSVAL(req->out.hdr, HDR_FLG2, flags2);
SSVAL(req->out.hdr, HDR_PID, session->pid);
SSVAL(req->out.hdr, HDR_PID, session->pid & 0xFFFF);
SSVAL(req->out.hdr, HDR_PIDHIGH, session->pid >> 16);
SSVAL(req->out.hdr, HDR_UID, session->vuid);
return req;