r19832: better prototypes for the linearization functions:
[kamenim/samba.git] / source4 / dsdb / samdb / ldb_modules / proxy.c
index 41fe8b68c923d043aeefa2ac46f21b573c79d0ad..0dd5ee1e3d8bc4429c7c95bc8782374810fad3ae 100644 (file)
@@ -285,7 +285,7 @@ static int proxy_search_bytree(struct ldb_module *module, struct ldb_request *re
        ldb_dn_add_base(base, proxy->olddn);
 
        ldb_debug(module->ldb, LDB_DEBUG_FATAL, "proxying: '%s' with dn '%s' \n", 
-                 ldb_filter_from_tree(proxy, newreq->op.search.tree), ldb_dn_linearize(proxy, newreq->op.search.base));
+                 ldb_filter_from_tree(proxy, newreq->op.search.tree), ldb_dn_get_linearized(newreq->op.search.base));
        for (i = 0; req->op.search.attrs && req->op.search.attrs[i]; i++) {
                ldb_debug(module->ldb, LDB_DEBUG_FATAL, "attr: '%s'\n", req->op.search.attrs[i]);
        }
@@ -313,7 +313,7 @@ static int proxy_search_bytree(struct ldb_module *module, struct ldb_request *re
 
 failed:
        ldb_debug(module->ldb, LDB_DEBUG_TRACE, "proxy failed for %s\n", 
-                 ldb_dn_linearize(proxy, req->op.search.base));
+                 ldb_dn_get_linearized(req->op.search.base));
 
 passthru:
        return ldb_next_request(module, req);