svn commit: samba r4325 - in branches/SAMBA_4_0/source/libcli/auth: .

metze at samba.org metze at samba.org
Tue Dec 21 12:39:40 GMT 2004


Author: metze
Date: 2004-12-21 12:39:39 +0000 (Tue, 21 Dec 2004)
New Revision: 4325

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4325

Log:
add the GENSEC_FEATURE_DCE_STYLE flag
this will be used by krb5 dcerpc auth

metze

Modified:
   branches/SAMBA_4_0/source/libcli/auth/gensec.c
   branches/SAMBA_4_0/source/libcli/auth/gensec.h


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/gensec.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/gensec.c	2004-12-21 12:26:12 UTC (rev 4324)
+++ branches/SAMBA_4_0/source/libcli/auth/gensec.c	2004-12-21 12:39:39 UTC (rev 4325)
@@ -232,6 +232,7 @@
 		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);
 	}

Modified: branches/SAMBA_4_0/source/libcli/auth/gensec.h
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/gensec.h	2004-12-21 12:26:12 UTC (rev 4324)
+++ branches/SAMBA_4_0/source/libcli/auth/gensec.h	2004-12-21 12:39:39 UTC (rev 4325)
@@ -44,6 +44,7 @@
 #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



More information about the samba-cvs mailing list