summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-30 01:59:10 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-30 01:59:10 +0200
commit43d944e6d6b66cf67ee857a62a439296738d3a59 (patch)
treecafaa9c693b5442f090aa8c4a5b461246fe73904
parent9de1472bd1848363dfce1644ce7b971486551ec3 (diff)
downloadsamba-43d944e6d6b66cf67ee857a62a439296738d3a59.tar.gz
samba-43d944e6d6b66cf67ee857a62a439296738d3a59.tar.bz2
samba-43d944e6d6b66cf67ee857a62a439296738d3a59.zip
Remove global_loadparm instance.
-rw-r--r--source4/libnet/libnet_site.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_site.c b/source4/libnet/libnet_site.c
index bb65de1f54..5647a93b8d 100644
--- a/source4/libnet/libnet_site.c
+++ b/source4/libnet/libnet_site.c
@@ -56,7 +56,7 @@ NTSTATUS libnet_FindSite(TALLOC_CTX *ctx, struct libnet_context *lctx, struct li
search.in.version = NETLOGON_NT_VERSION_5 | NETLOGON_NT_VERSION_5EX;
search.in.map_response = true;
- cldap = cldap_socket_init(tmp_ctx, lctx->event_ctx, lp_iconv_convenience(global_loadparm));
+ cldap = cldap_socket_init(tmp_ctx, lctx->event_ctx, lp_iconv_convenience(lctx->lp_ctx));
status = cldap_netlogon(cldap, tmp_ctx, &search);
if (!NT_STATUS_IS_OK(status) || !search.out.netlogon.nt5_ex.client_site) {
/*