summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-01-30 20:10:45 -0500
committerSimo Sorce <idra@samba.org>2009-01-30 20:12:50 -0500
commit7acea5a032e1c1fa14a5b414992d0f8f0a45a9f2 (patch)
tree9e28b63ab03fc05550e54703681e1e32242ab692 /source4/dsdb/samdb
parent8b7a1394aae8c59adb04a8cfc5e38ae0cb4462ab (diff)
downloadsamba-7acea5a032e1c1fa14a5b414992d0f8f0a45a9f2.tar.gz
samba-7acea5a032e1c1fa14a5b414992d0f8f0a45a9f2.tar.bz2
samba-7acea5a032e1c1fa14a5b414992d0f8f0a45a9f2.zip
Fix proxy module
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/proxy.c b/source4/dsdb/samdb/ldb_modules/proxy.c
index 9a5091ce90..72b47c308d 100644
--- a/source4/dsdb/samdb/ldb_modules/proxy.c
+++ b/source4/dsdb/samdb/ldb_modules/proxy.c
@@ -62,7 +62,7 @@ struct proxy_ctx {
*/
static int load_proxy_info(struct ldb_module *module)
{
- struct ldb = ldb_module_get_ctx(module);
+ struct ldb_context *ldb = ldb_module_get_ctx(module);
struct proxy_data *proxy = talloc_get_type(ldb_module_get_private(module), struct proxy_data);
struct ldb_dn *dn;
struct ldb_result *res = NULL;
@@ -262,7 +262,7 @@ static int proxy_search_callback(struct ldb_request *req,
ac = talloc_get_type(req->context, struct proxy_ctx);
ldb = ldb_module_get_ctx(ac->module);
- proxy = talloc_get_type(private_data, struct proxy_data);
+ proxy = talloc_get_type(ldb_module_get_private(module), struct proxy_data);
if (!ares) {
return ldb_module_done(ac->req, NULL, NULL,