From 17d124490b79cf14e53263eaef333756e18f7ff2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 12 Dec 2011 19:28:49 +0100 Subject: s4-librpc: Fix NETLOGON credential chain with Windows 2008. Windows Server 2008 returns NT_STATUS_DOWNGRADE_DETECTED if you call netrServerAuthenticate2 during a domain join without setting the strong keys flag (128bit crypto). Only for NT4 we need to do a downgrade to the returned negotiate flags. See also 0970369ca0cb9ae465cff40e5c75739824daf1d0. --- librpc/rpc/rpc_common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'librpc/rpc') diff --git a/librpc/rpc/rpc_common.h b/librpc/rpc/rpc_common.h index 44c3cfd39b..a28835fa63 100644 --- a/librpc/rpc/rpc_common.h +++ b/librpc/rpc/rpc_common.h @@ -107,6 +107,9 @@ struct dcerpc_binding { /* specify binding interface */ #define DCERPC_LOCALADDRESS (1<<22) +/* handle upgrades or downgrades automatically */ +#define DCERPC_SCHANNEL_AUTO (1<<23) + /* The following definitions come from ../librpc/rpc/dcerpc_error.c */ const char *dcerpc_errstr(TALLOC_CTX *mem_ctx, uint32_t fault_code); -- cgit