diff options
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 7740fbc4bc..12f911b9fd 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2243,13 +2243,12 @@ NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain, goto fail; } - schannel_auth = talloc(result, struct schannel_state); + schannel_auth = talloc_zero(result, struct schannel_state); if (schannel_auth == NULL) { goto fail; } schannel_auth->state = SCHANNEL_STATE_START; - schannel_auth->seq_num = 0; schannel_auth->initiator = true; schannel_auth->creds = netlogon_creds_copy(result, creds); |