From 3678411037329d8bebcaadcea6676018e0131afb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 27 Jun 2008 11:34:05 +0200 Subject: gsskrb5: just don't force, but allow the flags when GSS_CF_NO_CI_FLAGS is given metze (This used to be commit f10c9ca3612d7bdc4c2c221e959f8c48ec2f9349) --- source4/heimdal/lib/gssapi/krb5/init_sec_context.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/heimdal/lib') diff --git a/source4/heimdal/lib/gssapi/krb5/init_sec_context.c b/source4/heimdal/lib/gssapi/krb5/init_sec_context.c index ab7624eef0..c455a5dc8b 100644 --- a/source4/heimdal/lib/gssapi/krb5/init_sec_context.c +++ b/source4/heimdal/lib/gssapi/krb5/init_sec_context.c @@ -490,6 +490,12 @@ init_auth if (req_flags & GSS_C_EXTENDED_ERROR_FLAG) flags |= GSS_C_EXTENDED_ERROR_FLAG; + if (req_flags & GSS_C_CONF_FLAG) { + flags |= GSS_C_CONF_FLAG; + } + if (req_flags & GSS_C_INTEG_FLAG) { + flags |= GSS_C_INTEG_FLAG; + } if (cred == NULL || !(cred->cred_flags & GSS_CF_NO_CI_FLAGS)) { flags |= GSS_C_CONF_FLAG; flags |= GSS_C_INTEG_FLAG; -- cgit