summaryrefslogtreecommitdiffstats
path: root/source4/cldap_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 23:33:16 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:53 +0100
commitda0f222f432c4fc8bf5da80baf849ca32b315ca0 (patch)
tree3af5624aca9ce68b4b169ed1066dd03e8b2e7d9d /source4/cldap_server
parent5b357ca8774d97e85153151552bc052cfaf26c1b (diff)
downloadsamba-da0f222f432c4fc8bf5da80baf849ca32b315ca0.tar.gz
samba-da0f222f432c4fc8bf5da80baf849ca32b315ca0.tar.xz
samba-da0f222f432c4fc8bf5da80baf849ca32b315ca0.zip
r26271: Remove some more uses of global_loadparm.
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
Diffstat (limited to 'source4/cldap_server')
-rw-r--r--source4/cldap_server/netlogon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index db07c8d6180..beb1767138a 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -327,7 +327,7 @@ void cldapd_netlogon_request(struct cldap_socket *cldap,
}
if (domain_guid == NULL && domain == NULL) {
- domain = lp_realm(global_loadparm);
+ domain = lp_realm(cldapd->task->lp_ctx);
}
if (version == -1) {
@@ -339,7 +339,7 @@ void cldapd_netlogon_request(struct cldap_socket *cldap,
status = cldapd_netlogon_fill(cldapd, tmp_ctx, domain, domain_guid,
user, src->addr,
- version, global_loadparm, &netlogon);
+ version, cldapd->task->lp_ctx, &netlogon);
if (!NT_STATUS_IS_OK(status)) {
goto failed;
}