diff options
-rw-r--r-- | source3/librpc/rpc/dcerpc.h | 2 | ||||
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h index a91b06e0e9..b3ae3b4e5c 100644 --- a/source3/librpc/rpc/dcerpc.h +++ b/source3/librpc/rpc/dcerpc.h @@ -45,7 +45,7 @@ struct pipe_auth_data { /* Only the client code uses these 3 for now */ char *domain; char *user_name; - DATA_BLOB user_session_key; + DATA_BLOB transport_session_key; }; /* The following definitions come from librpc/rpc/dcerpc_helpers.c */ diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index bd4981316d..edb3876b70 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2873,9 +2873,9 @@ NTSTATUS cli_rpc_pipe_open_noauth_transport(struct cli_state *cli, } status = smbXcli_session_application_key(session, auth, - &auth->user_session_key); + &auth->transport_session_key); if (!NT_STATUS_IS_OK(status)) { - auth->user_session_key = data_blob_null; + auth->transport_session_key = data_blob_null; } } @@ -3147,8 +3147,8 @@ NTSTATUS cli_get_session_key(TALLOC_CTX *mem_ctx, break; case DCERPC_AUTH_TYPE_NCALRPC_AS_SYSTEM: case DCERPC_AUTH_TYPE_NONE: - sk = data_blob_const(a->user_session_key.data, - a->user_session_key.length); + sk = data_blob_const(a->transport_session_key.data, + a->transport_session_key.length); make_dup = true; break; default: |