summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-01-20 15:56:17 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-20 23:55:54 +0100
commit30b1e72556c0104fcedd95b8211e65056d1cac2e (patch)
tree1b7e6e25ce94de23fbcef1d7be8b81f56d1a4db0 /source4/auth/gensec
parent7fe189749edf5c081be6f3a350072caa0c8b3d98 (diff)
downloadsamba-30b1e72556c0104fcedd95b8211e65056d1cac2e.tar.gz
samba-30b1e72556c0104fcedd95b8211e65056d1cac2e.tar.bz2
samba-30b1e72556c0104fcedd95b8211e65056d1cac2e.zip
s4:auth/gensec: make sure GSS_C_CONF_FLAG implies GSS_C_INTEG_FLAG
metze
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index e43f1fc060..7f504c5a0f 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -151,6 +151,7 @@ static NTSTATUS gensec_gssapi_start(struct gensec_security *gensec_security)
gensec_gssapi_state->gss_want_flags |= GSS_C_INTEG_FLAG;
}
if (gensec_security->want_features & GENSEC_FEATURE_SEAL) {
+ gensec_gssapi_state->gss_want_flags |= GSS_C_INTEG_FLAG;
gensec_gssapi_state->gss_want_flags |= GSS_C_CONF_FLAG;
}
if (gensec_security->want_features & GENSEC_FEATURE_DCE_STYLE) {