diff options
author | Andreas Schneider <asn@samba.org> | 2011-12-12 19:28:49 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-12-14 13:41:28 +0100 |
commit | 17d124490b79cf14e53263eaef333756e18f7ff2 (patch) | |
tree | 4522c0ad814ccd4cdffd91074f84bfda97577a0a /librpc/rpc | |
parent | ffa996e4797af1a38c484894fc03528f6fa73496 (diff) | |
download | samba-17d124490b79cf14e53263eaef333756e18f7ff2.tar.gz samba-17d124490b79cf14e53263eaef333756e18f7ff2.tar.bz2 samba-17d124490b79cf14e53263eaef333756e18f7ff2.zip |
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.
Diffstat (limited to 'librpc/rpc')
-rw-r--r-- | librpc/rpc/rpc_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |