r4325: add the GENSEC_FEATURE_DCE_STYLE flag
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Dec 2004 12:39:39 +0000 (12:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:35 +0000 (13:07 -0500)
this will be used by krb5 dcerpc auth

metze
(This used to be commit 04dc7fb9b24a1e38f31559ec6032701a176209ae)

source4/libcli/auth/gensec.c
source4/libcli/auth/gensec.h

index 147d1b12df95d349881bd15a99071f46d3b6e93b..8009df4e4050baf70bb343a29cb4308d5180ab04 100644 (file)
@@ -232,6 +232,7 @@ NTSTATUS gensec_start_mech_by_authtype(struct gensec_security *gensec_security,
                DEBUG(3, ("Could not find GENSEC backend for auth_type=%d\n", (int)auth_type));
                return NT_STATUS_INVALID_PARAMETER;
        }
+       gensec_want_feature(gensec_security, GENSEC_FEATURE_DCE_STYLE);
        if (auth_level == DCERPC_AUTH_LEVEL_INTEGRITY) {
                gensec_want_feature(gensec_security, GENSEC_FEATURE_SIGN);
        }
index 3d645bee82197c9ca5f101939b6034cd7d242a6f..9162c935b283bd1212b69f33bf9a0a8a081bd0a1 100644 (file)
@@ -44,6 +44,7 @@ struct gensec_target {
 #define GENSEC_FEATURE_SESSION_KEY     0x00000001
 #define GENSEC_FEATURE_SIGN            0x00000002
 #define GENSEC_FEATURE_SEAL            0x00000004
+#define GENSEC_FEATURE_DCE_STYLE       0x00000008
 
 /* GENSEC mode */
 enum gensec_role