[PATCH] s4: Supported enc replace magic number with a sensible constant.

Matthieu Patou mat at matws.net
Mon Oct 26 13:06:59 MDT 2009


---
 source4/rpc_server/netlogon/dcerpc_netlogon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index d59cb6f..0c42f20 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -1135,7 +1135,7 @@ static NTSTATUS dcesrv_netr_LogonGetDomainInfo(struct dcesrv_call_state *dce_cal
 	struct netr_DomainInformation *domain_info;
 	struct netr_LsaPolicyInformation *lsa_policy_info;
 	struct netr_OsVersionInfoEx *os_version;
-	uint32_t default_supported_enc_types = 0xFFFFFFFF;
+	uint32_t default_supported_enc_types = ENC_CRC32|ENC_RSA_MD5|ENC_RC4_HMAC_MD5;
 	int ret1, ret2, ret3, i;
 	NTSTATUS status;
 
-- 
1.6.0.4


--------------030403090200020000050704--


More information about the samba-technical mailing list