summaryrefslogtreecommitdiff
path: root/source4/nsswitch
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-21 15:45:32 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-21 15:45:32 +0100
commit263a77c5618daddb0c1e4f0ad0a922bca55faf0d (patch)
tree117a612740901f6822d346d6832e0e1fb33d4abc /source4/nsswitch
parentede79ae482b16c3cea65d3019bc1a68f07354e89 (diff)
downloadsamba-263a77c5618daddb0c1e4f0ad0a922bca55faf0d.tar.gz
samba-263a77c5618daddb0c1e4f0ad0a922bca55faf0d.tar.bz2
samba-263a77c5618daddb0c1e4f0ad0a922bca55faf0d.zip
Remove more uses of global_loadparm.
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
Diffstat (limited to 'source4/nsswitch')
-rw-r--r--source4/nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nsswitch/wbinfo.c b/source4/nsswitch/wbinfo.c
index b2748833e6..7ead27939e 100644
--- a/source4/nsswitch/wbinfo.c
+++ b/source4/nsswitch/wbinfo.c
@@ -837,7 +837,7 @@ static bool wbinfo_auth_crap(struct loadparm_context *lp_ctx, char *username)
server_chal = data_blob(request.data.auth_crap.chal, 8);
/* Pretend this is a login to 'us', for blob purposes */
- names_blob = NTLMv2_generate_names_blob(mem_ctx, lp_netbios_name(lp_ctx), lp_workgroup(lp_ctx));
+ names_blob = NTLMv2_generate_names_blob(mem_ctx, lp_iconv_convenience(lp_ctx), lp_netbios_name(lp_ctx), lp_workgroup(lp_ctx));
if (!SMBNTLMv2encrypt(mem_ctx, name_user, name_domain, pass, &server_chal,
&names_blob,