diff options
author | Gerald Carter <jerry@samba.org> | 2007-09-28 03:54:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:31:02 -0500 |
commit | 3529156971e17c7ec13f6a6243f7b613e4666cdd (patch) | |
tree | 0f6479de4c560c92a75826d955020659a36ef060 /source3/include/rpc_dce.h | |
parent | 470ebf8a3504474dea5c324d01282e59c034a236 (diff) | |
download | samba-3529156971e17c7ec13f6a6243f7b613e4666cdd.tar.gz |
r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>.
(This used to be commit 8304ccba7346597425307e260e88647e49081f68)
Diffstat (limited to 'source3/include/rpc_dce.h')
-rw-r--r-- | source3/include/rpc_dce.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/rpc_dce.h b/source3/include/rpc_dce.h index 7ea3fcbc233..3b315b7ef8b 100644 --- a/source3/include/rpc_dce.h +++ b/source3/include/rpc_dce.h @@ -111,6 +111,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 |