From 6b86590342799f3fd35700a1cd1f5fd2aba3547c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 6 Jun 2011 16:07:23 +0200 Subject: s3-auth: Only reload the config file. We only need to reload the config file. This removes a dependency to smbd. Signed-off-by: Andrew Bartlett --- source3/auth/auth_ntlmssp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 1fecc0988e..ad08981d2f 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -119,7 +119,7 @@ static NTSTATUS auth_ntlmssp_check_password(struct ntlmssp_state *ntlmssp_state, /* sub_set_smb_name checks for weird internally */ sub_set_smb_name(auth_ntlmssp_state->ntlmssp_state->user); - reload_services(smbd_messaging_context(), -1, True); + lp_load(get_dyn_CONFIGFILE(), false, false, true, true); nt_status = make_user_info_map(&user_info, auth_ntlmssp_state->ntlmssp_state->user, -- cgit