From fa3af7c2e8f1bf292e190ba3d933b6e1d552595d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 17 Oct 2013 18:48:15 +0200 Subject: [PATCH] libcli/auth: make use of real options in netlogon_creds_cli_context_global() Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- libcli/auth/netlogon_creds_cli.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/libcli/auth/netlogon_creds_cli.c b/libcli/auth/netlogon_creds_cli.c index a872b31bfcc..6590b21ec1a 100644 --- a/libcli/auth/netlogon_creds_cli.c +++ b/libcli/auth/netlogon_creds_cli.c @@ -279,11 +279,7 @@ NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx, * allow overwrite per domain * reject md5 servers: */ - //TODO: add lpcfp_reject_md5_servers() - reject_md5_servers = lpcfg_parm_bool(lp_ctx, NULL, - "__default__", - "reject md5 servers", - reject_md5_servers); + reject_md5_servers = lpcfg_reject_md5_servers(lp_ctx); reject_md5_servers = lpcfg_parm_bool(lp_ctx, NULL, "reject md5 servers", server_netbios_domain, @@ -293,11 +289,7 @@ NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx, * allow overwrite per domain * require strong key: */ - //TODO: add lpcfp_require_strong_key() - require_strong_key = lpcfg_parm_bool(lp_ctx, NULL, - "__default__", - "require strong key", - require_strong_key); + require_strong_key = lpcfg_require_strong_key(lp_ctx); require_strong_key = lpcfg_parm_bool(lp_ctx, NULL, "require strong key", server_netbios_domain, @@ -327,11 +319,7 @@ NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx, * allow overwrite per domain * neutralize nt4 emulation: */ - //TODO: add lpcfp_neutralize_nt4_emulation() - neutralize_nt4_emulation = lpcfg_parm_bool(lp_ctx, NULL, - "__default__", - "neutralize nt4 emulation", - neutralize_nt4_emulation); + neutralize_nt4_emulation = lpcfg_neutralize_nt4_emulation(lp_ctx); neutralize_nt4_emulation = lpcfg_parm_bool(lp_ctx, NULL, "neutralize nt4 emulation", server_netbios_domain,