summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 16:27:09 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:41 +0200
commit612838dca8a6bba411167659ac3107a8634f0504 (patch)
treec3a2dd6d63e08db7d1c7b16a4cccd57013ea23d6
parentd3e79a864d0eaf962ed00794e7424441e80294c1 (diff)
downloadsamba-612838dca8a6bba411167659ac3107a8634f0504.tar.gz
samba-612838dca8a6bba411167659ac3107a8634f0504.tar.bz2
samba-612838dca8a6bba411167659ac3107a8634f0504.zip
s3:smbd: pass down vuid as uint64_t in ipc.c
metze
-rw-r--r--source3/smbd/ipc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 083c6882a7..77b9249e6f 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -449,7 +449,7 @@ static void api_no_reply(connection_struct *conn, struct smb_request *req)
Handle remote api calls delivered to a named pipe already opened.
****************************************************************************/
-static void api_fd_reply(connection_struct *conn, uint16 vuid,
+static void api_fd_reply(connection_struct *conn, uint64_t vuid,
struct smb_request *req,
uint16 *setup, uint8_t *data, char *params,
int suwcnt, int tdscnt, int tpscnt,
@@ -493,8 +493,8 @@ static void api_fd_reply(connection_struct *conn, uint16 vuid,
}
if (vuid != fsp->vuid) {
- DEBUG(1, ("Got pipe request (pnum %x) using invalid VUID %d, "
- "expected %llu\n", pnum, vuid,
+ DEBUG(1, ("Got pipe request (pnum %x) using invalid VUID %llu, "
+ "expected %llu\n", pnum, (unsigned long long)vuid,
(unsigned long long)fsp->vuid));
reply_nterror(req, NT_STATUS_INVALID_HANDLE);
return;
@@ -530,7 +530,7 @@ static void api_fd_reply(connection_struct *conn, uint16 vuid,
Handle named pipe commands.
****************************************************************************/
-static void named_pipe(connection_struct *conn, uint16 vuid,
+static void named_pipe(connection_struct *conn, uint64_t vuid,
struct smb_request *req,
const char *name, uint16 *setup,
char *data, char *params,