summaryrefslogtreecommitdiff
path: root/source3/libads/sasl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-20 11:04:19 -0700
committerJeremy Allison <jra@samba.org>2010-07-20 11:04:19 -0700
commit8a882b645c7913a12776065d239cd97d0628108c (patch)
tree635430e8f01345460594bfc472d730924ca7cd38 /source3/libads/sasl.c
parent668744964db9210d7b106dcaa27ea1152bd635cd (diff)
downloadsamba-8a882b645c7913a12776065d239cd97d0628108c.tar.gz
samba-8a882b645c7913a12776065d239cd97d0628108c.tar.bz2
samba-8a882b645c7913a12776065d239cd97d0628108c.zip
Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, but a TokenInit one.
Move to using spnego_gen_negTokenInit() instead. Jeremy
Diffstat (limited to 'source3/libads/sasl.c')
-rw-r--r--source3/libads/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index b314eb9c0f..277231b65c 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -508,7 +508,7 @@ static ADS_STATUS ads_sasl_spnego_gsskrb5_bind(ADS_STRUCT *ads, const gss_name_t
/* and wrap that in a shiny SPNEGO wrapper */
unwrapped = data_blob_const(output_token.value, output_token.length);
- wrapped = gen_negTokenTarg(spnego_mechs, unwrapped);
+ wrapped = spnego_gen_negTokenInit(spnego_mechs, &unwrapped, NULL);
gss_release_buffer(&minor_status, &output_token);
if (unwrapped.length > wrapped.length) {
status = ADS_ERROR_NT(NT_STATUS_NO_MEMORY);