summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-06-06 16:07:23 +0200
committerAndrew Bartlett <abartlet@samba.org>2011-07-04 18:27:53 +1000
commit6b86590342799f3fd35700a1cd1f5fd2aba3547c (patch)
treedb3fae4a9317683de0e056794690b3b9be835614
parent80838491e6ac9f4299daccfc5506b3e1e79fab38 (diff)
downloadsamba-6b86590342799f3fd35700a1cd1f5fd2aba3547c.tar.gz
samba-6b86590342799f3fd35700a1cd1f5fd2aba3547c.tar.bz2
samba-6b86590342799f3fd35700a1cd1f5fd2aba3547c.zip
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 <abartlet@samba.org>
-rw-r--r--source3/auth/auth_ntlmssp.c2
1 files changed, 1 insertions, 1 deletions
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,