diff options
author | Jeremy Allison <jra@samba.org> | 2017-06-13 16:26:00 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-06-17 06:39:20 +0200 |
commit | 93fa0c8660e47cb2605d70dac1156576ab719d64 (patch) | |
tree | b1bb073178bc432be0d459f88c17e09beb8ff0ea /source3/lib | |
parent | 5c0efc9a5ef8ddf96dc394110063bebd5f057415 (diff) | |
download | samba-93fa0c8660e47cb2605d70dac1156576ab719d64.tar.gz |
s3: libsmb: Widen cli_state_get_tid() / cli_state_set_tid() to 32-bits.
Copes with SMB2 connections.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sd.c b/source3/lib/util_sd.c index d79fe79b94b..a95cafd5f7a 100644 --- a/source3/lib/util_sd.c +++ b/source3/lib/util_sd.c @@ -84,7 +84,7 @@ static NTSTATUS cli_lsa_lookup_sid(struct cli_state *cli, enum lsa_SidType *type, char **domain, char **name) { - uint16_t orig_cnum = cli_state_get_tid(cli); + uint32_t orig_cnum = cli_state_get_tid(cli); struct rpc_pipe_client *p = NULL; struct policy_handle handle; NTSTATUS status; @@ -165,7 +165,7 @@ static NTSTATUS cli_lsa_lookup_name(struct cli_state *cli, enum lsa_SidType *type, struct dom_sid *sid) { - uint16_t orig_cnum = cli_state_get_tid(cli); + uint32_t orig_cnum = cli_state_get_tid(cli); struct rpc_pipe_client *p; struct policy_handle handle; NTSTATUS status; |