diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-01 11:00:02 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-01 14:17:15 +0200 |
commit | 8e1c6d42327faae5df6e384cf9573bf4dc925038 (patch) | |
tree | 57b2476e84718e103d7992d6e56acfd288b85b80 | |
parent | 0ec50e8a2feddb1389f7143c35f7f2c3444cf6b9 (diff) | |
download | samba-8e1c6d42327faae5df6e384cf9573bf4dc925038.tar.gz samba-8e1c6d42327faae5df6e384cf9573bf4dc925038.tar.bz2 samba-8e1c6d42327faae5df6e384cf9573bf4dc925038.zip |
s3:rpc_client: rename pipe_auth_data->user_session_key to transport_session_key
metze
-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: |