diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-07-06 01:03:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:52 -0500 |
commit | 49d6c46fa3fa0b074e1544d33c814f9de0f544aa (patch) | |
tree | 8fde5b734980b9cc3d133e8a1730484eb1c6cf68 /source4 | |
parent | 3acfc94511cd963597f02d34742dea5d8ed2d609 (diff) | |
download | samba-49d6c46fa3fa0b074e1544d33c814f9de0f544aa.tar.gz samba-49d6c46fa3fa0b074e1544d33c814f9de0f544aa.tar.bz2 samba-49d6c46fa3fa0b074e1544d33c814f9de0f544aa.zip |
r1350: - init nt_status- found by valgrind
- set auth_type = DCERPC_AUTH_TYPE_SPNEGO
metze
(This used to be commit 7354521f3cfaa2ead8fac38a68b7704d43731f72)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/auth/spnego.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c index d8d3682fd4..901ff7cf73 100644 --- a/source4/libcli/auth/spnego.c +++ b/source4/libcli/auth/spnego.c @@ -221,7 +221,7 @@ static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA char **mechType = spnego.negTokenInit.mechTypes; char *my_mechs[] = {NULL, NULL}; int i; - NTSTATUS nt_status; + NTSTATUS nt_status = NT_STATUS_INVALID_PARAMETER; for (i=0; mechType && mechType[i]; i++) { nt_status = gensec_client_start(&spnego_state->sub_sec_security); @@ -360,6 +360,7 @@ static void gensec_spnego_end(struct gensec_security *gensec_security) static const struct gensec_security_ops gensec_spnego_security_ops = { .name = "spnego", .sasl_name = "GSS-SPNEGO", + .auth_type = DCERPC_AUTH_TYPE_SPNEGO, .oid = OID_SPNEGO, .client_start = gensec_spnego_client_start, .update = gensec_spnego_update, |