if (gensec_security->want_features & GENSEC_FEATURE_SESSION_KEY) {
#ifndef HAVE_GSSKRB5_GET_INITIATOR_SUBKEY
- /* GSSAPI won't give us the session keys, without the right hook */
+ /* GSSAPI won't give us the session keys, without the
+ * right hooks. This is critical when requested, so
+ * fail outright. */
return NT_STATUS_INVALID_PARAMETER;
#endif
}
}
if (gensec_security->want_features & GENSEC_FEATURE_DCE_STYLE) {
#ifndef GSS_C_DCE_STYLE
- /* GSSAPI won't give us the session keys, without the right hook */
+ /* GSSAPI DCE_STYLE is critical when requested, so
+ * fail outright */
return NT_STATUS_INVALID_PARAMETER;
#else
gensec_gssapi_state->want_flags |= GSS_C_DCE_STYLE;