summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndreas Schneider <anschneider@suse.de>2008-01-17 10:11:11 +0100
committerJeremy Allison <jra@samba.org>2008-01-23 14:55:22 -0800
commit691c4b1a4175e3d4a073c396a2a7d8d315cd42bd (patch)
tree66f0977343c4a432bdcac79dd355f304052d8ee8 /source3/include
parenta0186fb78d05aa997b114eee6afabaf138540ab8 (diff)
downloadsamba-691c4b1a4175e3d4a073c396a2a7d8d315cd42bd.tar.gz
samba-691c4b1a4175e3d4a073c396a2a7d8d315cd42bd.tar.bz2
samba-691c4b1a4175e3d4a073c396a2a7d8d315cd42bd.zip
Windows 2008 (Longhorn) auth2 flag fixes.
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_dce.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/rpc_dce.h b/source3/include/rpc_dce.h
index f162196524..ec08eb5f8f 100644
--- a/source3/include/rpc_dce.h
+++ b/source3/include/rpc_dce.h
@@ -106,6 +106,8 @@ enum RPC_PKT_TYPE {
/* these are the flags that ADS clients use */
#define NETLOGON_NEG_AUTH2_ADS_FLAGS (0x200fbffb | NETLOGON_NEG_ARCFOUR | NETLOGON_NEG_128BIT | NETLOGON_NEG_SCHANNEL)
+#define NETLOGON_NEG_SELECT_AUTH2_FLAGS ((lp_security() == SEC_ADS) ? NETLOGON_NEG_AUTH2_ADS_FLAGS : NETLOGON_NEG_AUTH2_FLAGS)
+
enum schannel_direction {
SENDER_IS_INITIATOR,
SENDER_IS_ACCEPTOR