summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-13 23:23:31 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:09 +0100
commit2331f4e9a56baa00ab4f250d10416a072320b539 (patch)
treee044860fbeca50df93f22418331f4032328c1889 /source4
parent84b476394713d4f2b84782c59dcc084a25af360f (diff)
downloadsamba-2331f4e9a56baa00ab4f250d10416a072320b539.tar.gz
samba-2331f4e9a56baa00ab4f250d10416a072320b539.tar.bz2
samba-2331f4e9a56baa00ab4f250d10416a072320b539.zip
r26442: Remove use of global_loadparm.
(This used to be commit 2962a6143c8acb59b64b214bb0146ffa809d5cfe)
Diffstat (limited to 'source4')
-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 0e498e8523..9db9494865 100644
--- a/source4/libnet/libnet_site.c
+++ b/source4/libnet/libnet_site.c
@@ -159,7 +159,7 @@ NTSTATUS libnet_JoinSite(struct libnet_context *ctx,
r->in.dest_address = dest_addr;
r->in.netbios_name = libnet_r->in.netbios_name;
r->in.domain_dn_str = libnet_r->out.domain_dn_str;
- r->in.cldap_port = lp_cldap_port(global_loadparm);
+ r->in.cldap_port = lp_cldap_port(ctx->lp_ctx);
status = libnet_FindSite(tmp_ctx, r);
if (!NT_STATUS_IS_OK(status)) {