/* this is gross, and will be removed when I change ldb_result not
to be so pointer crazy :-) */
- if (s->res[0][0].msgs == NULL) {
+ if (s->res->msgs == NULL) {
return LDB_SUCCESS;
}
- msg = s->res[0][0].msgs[0];
+ msg = s->res->msgs[0];
msg->dn = ldb_dn_explode(msg, "");
*/
static int rootdse_search_bytree(struct ldb_module *module, struct ldb_request *req)
{
-// struct ldb_request r = *req;
struct ldb_search *s = &req->op.search;
int ret;
TALLOC_CTX *tmp_ctx;