summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-11-07 21:05:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:20 -0500
commita77b25cea7f95584a05f3f6e81564fcbd8e1e3a0 (patch)
treef693230fe25b3b1042d5e27eb254b908656fd3d2 /source4/auth
parent640047e947f57d94d074d8ad9b2cc99ff0f366e3 (diff)
downloadsamba-a77b25cea7f95584a05f3f6e81564fcbd8e1e3a0.tar.gz
samba-a77b25cea7f95584a05f3f6e81564fcbd8e1e3a0.tar.bz2
samba-a77b25cea7f95584a05f3f6e81564fcbd8e1e3a0.zip
r19628: This hint via Love at the IETF meeting:
Larry told me that most context flags needed to be set to, otherwise it wouldn't work. This fixes DCE_STYLE against Win2k3 SP1. It seems they just tightened up their end of the GSSAPI code, as DCE_STYLE is explicity rejected in the session setup too (being the wrong layer). Andrew Bartlett (This used to be commit b2b77f34a4d0cebb828cac7bf9a73826fecab5b6)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index 136962d892..39d90546f6 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -164,6 +164,9 @@ static NTSTATUS gensec_gssapi_start(struct gensec_security *gensec_security)
if (lp_parm_bool(-1, "gensec_gssapi", "delegation", True)) {
gensec_gssapi_state->want_flags |= GSS_C_DELEG_FLAG;
}
+ if (lp_parm_bool(-1, "gensec_gssapi", "replay", True)) {
+ gensec_gssapi_state->want_flags |= GSS_C_REPLAY_FLAG;
+ }
if (lp_parm_bool(-1, "gensec_gssapi", "sequence", True)) {
gensec_gssapi_state->want_flags |= GSS_C_SEQUENCE_FLAG;
}