summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-07 03:01:41 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:42 +0100
commitbca631be1f4cefeec3d64cd552ec6d9ee9cc1971 (patch)
tree375d4e22cbf3be367dccc82a50391b5756921e81 /source4/dsdb/samdb/ldb_modules
parent6c77f353d3d952b46b401ab29837ba5b75e353c2 (diff)
downloadsamba-bca631be1f4cefeec3d64cd552ec6d9ee9cc1971.tar.gz
samba-bca631be1f4cefeec3d64cd552ec6d9ee9cc1971.tar.bz2
samba-bca631be1f4cefeec3d64cd552ec6d9ee9cc1971.zip
r26329: Fix more loadparm_context references. Only about a 100 left now.
(This used to be commit ddf233346d848e91bc6a6a572f0f6120540503b7)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/proxy.c b/source4/dsdb/samdb/ldb_modules/proxy.c
index 5f22982b8d..37ee7f9fce 100644
--- a/source4/dsdb/samdb/ldb_modules/proxy.c
+++ b/source4/dsdb/samdb/ldb_modules/proxy.c
@@ -129,7 +129,7 @@ static int load_proxy_info(struct ldb_module *module)
ldb_oom(module->ldb);
goto failed;
}
- cli_credentials_guess(creds, global_loadparm);
+ cli_credentials_guess(creds, ldb_get_opaque(module->ldb, "loadparm"));
cli_credentials_set_username(creds, username, CRED_SPECIFIED);
cli_credentials_set_password(creds, password, CRED_SPECIFIED);