From 0664becb605fafac08b830ac8257e4028056381b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 28 Jan 2003 23:58:32 +0000 Subject: Pass in some default flags to gss_init_sec_context() (these default flags 2003-01-28 Jeffrey Stedfast * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default flags to gss_init_sec_context() (these default flags are defined as a MUST in rfc1964). svn path=/trunk/; revision=19676 --- camel/ChangeLog | 6 ++++++ camel/camel-sasl-gssapi.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 9073788903..5ac8fedf48 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2003-01-28 Jeffrey Stedfast + + * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default + flags to gss_init_sec_context() (these default flags are defined + as a MUST in rfc1964). + 2003-01-22 Hans Petter Jansson * Makefile.am: $(libexec) -> $(libexecdir) diff --git a/camel/camel-sasl-gssapi.c b/camel/camel-sasl-gssapi.c index 938e038ed3..50780a418c 100644 --- a/camel/camel-sasl-gssapi.c +++ b/camel/camel-sasl-gssapi.c @@ -225,7 +225,9 @@ gssapi_challenge (CamelSasl *sasl, GByteArray *token, CamelException *ex) challenge: major = gss_init_sec_context (&minor, GSS_C_NO_CREDENTIAL, &priv->ctx, priv->target, - GSS_C_OID_KRBV5_DES, 0, 0, GSS_C_NO_CHANNEL_BINDINGS, + GSS_C_OID_KRBV5_DES, GSS_C_DELEG_FLAG | GSS_C_MUTAUAL_FLAG | + GSS_C_REPLAY_FLAG | GSS_C_SEQUENCE_FLAG, + 0, GSS_C_NO_CHANNEL_BINDINGS, input_token, &mech, &outbuf, &flags, &time); switch (major) { -- cgit