summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c2
1 files changed, 1 insertions, 1 deletions
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,