1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00

r26271: Remove some more uses of global_loadparm.

This commit is contained in:
Jelmer Vernooij
2007-12-03 23:33:16 +01:00
committed by Stefan Metzmacher
parent e52710d679
commit e9875fcd56
18 changed files with 60 additions and 43 deletions

View File

@@ -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;
}