git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05db0b9
)
don't always use the same schannel context number
author
Andrew Tridgell
<tridge@samba.org>
Tue, 10 Feb 2004 11:19:58 +0000
(11:19 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 10 Feb 2004 11:19:58 +0000
(11:19 +0000)
source/librpc/rpc/dcerpc_schannel.c
patch
|
blob
|
history
diff --git
a/source/librpc/rpc/dcerpc_schannel.c
b/source/librpc/rpc/dcerpc_schannel.c
index 9ef16a0d5cdb40f2b3fcebc4bb63cb1d09891587..7727c5e4369785569367a7f0d9f5b1ceea13a979 100644
(file)
--- a/
source/librpc/rpc/dcerpc_schannel.c
+++ b/
source/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,