1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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)
This commit is contained in:
Andrew Bartlett 2006-11-07 21:05:45 +00:00 committed by Gerald (Jerry) Carter
parent 640047e947
commit a77b25cea7

View File

@ -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;
}