diff options
| author | Stefan Metzmacher <metze@samba.org> | 2013-10-17 18:48:15 +0200 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-01-07 12:47:05 +0100 |
| commit | fa3af7c2e8f1bf292e190ba3d933b6e1d552595d (patch) | |
| tree | 18c9512f9b51fb2a92e7903eecdea60580d6770f /libcli | |
| parent | e7954bcc04ec6761b2ed6dad08b90c65efafa948 (diff) | |
| download | samba-fa3af7c2e8f1bf292e190ba3d933b6e1d552595d.tar.gz samba-fa3af7c2e8f1bf292e190ba3d933b6e1d552595d.tar.xz samba-fa3af7c2e8f1bf292e190ba3d933b6e1d552595d.zip | |
libcli/auth: make use of real options in netlogon_creds_cli_context_global()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli')
| -rw-r--r-- | libcli/auth/netlogon_creds_cli.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/libcli/auth/netlogon_creds_cli.c b/libcli/auth/netlogon_creds_cli.c index a872b31bfc..6590b21ec1 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:<netbios_domain> */ - //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:<netbios_domain> */ - //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:<netbios_domain> */ - //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, |
