From e159cc7e05a46fcc652873b382b848f5d524d8b6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 10 Feb 2004 11:19:58 +0000 Subject: don't always use the same schannel context number (This used to be commit 396e0757122614211b535b140d9365ac7b8b880d) --- source4/librpc/rpc/dcerpc_schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc') diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c index 9ef16a0d5c..7727c5e436 100644 --- a/source4/librpc/rpc/dcerpc_schannel.c +++ b/source4/librpc/rpc/dcerpc_schannel.c @@ -159,7 +159,7 @@ NTSTATUS dcerpc_bind_auth_schannel(struct dcerpc_pipe *p, } p->auth_info->auth_pad_length = 0; p->auth_info->auth_reserved = 0; - p->auth_info->auth_context_id = 1; + p->auth_info->auth_context_id = random(); p->security_state = NULL; p->auth_info->credentials = data_blob_talloc(p->mem_ctx, -- cgit