Lines Matching defs:ldb
461 struct ldb_context *ldb = ldb_module_get_ctx(module);
484 ldb_debug(ldb, LDB_DEBUG_ERROR,
492 ldb_debug(ldb, LDB_DEBUG_ERROR,
535 valdn = ldb_dn_from_ldb_val(add_ctx, ldb, &el->values[i]);
537 ldb_debug(ldb, LDB_DEBUG_ERROR, "Invalid dn value: [%s]",
542 ldb_debug(ldb, LDB_DEBUG_ERROR,
554 ret = ldb_build_add_req(&add_req, ldb, add_ctx,
645 struct ldb_context *ldb;
653 ldb = ldb_module_get_ctx(ctx->module);
658 ret = ldb_build_search_req(&req, ldb, ctx,
667 return ldb_request(ldb, req);
675 struct ldb_context *ldb;
682 ldb = ldb_module_get_ctx(ctx->module);
698 ldb_debug(ldb, LDB_DEBUG_TRACE,
720 ldb_debug(ldb, LDB_DEBUG_TRACE, "Entry not found (%s)",
773 struct ldb_context *ldb;
786 ldb = ldb_module_get_ctx(ctx->module);
817 elval_dn = ldb_dn_from_ldb_val(tmp_ctx, ldb, &el->values[i]);
819 ldb_debug(ldb, LDB_DEBUG_TRACE, "Invalid DN in memberof [%s]",
866 valdn = ldb_dn_from_ldb_val(add_ctx, ldb, &el->values[i]);
868 ldb_debug(ldb, LDB_DEBUG_TRACE, "Invalid DN in member [%s]",
873 ldb_debug(ldb, LDB_DEBUG_TRACE,
952 ret = ldb_build_mod_req(&mod_req, ldb, add_ctx,
1000 struct ldb_context *ldb;
1010 ldb = ldb_module_get_ctx(ctx->module);
1043 ret = ldb_build_mod_req(&mod_req, ldb, add_ctx,
1109 struct ldb_context *ldb;
1116 ldb = ldb_module_get_ctx(ctx->module);
1125 ret = ldb_build_mod_req(&mod_req, ldb, add_ctx,
1320 struct ldb_context *ldb = ldb_module_get_ctx(module);
1382 ret = ldb_build_search_req(&search, ldb, del_ctx,
1392 return ldb_request(ldb, search);
1399 struct ldb_context *ldb;
1408 ldb = ldb_module_get_ctx(ctx->module);
1462 ldb_debug(ldb, LDB_DEBUG_TRACE,
1503 struct ldb_context *ldb;
1510 ldb = ldb_module_get_ctx(ctx->module);
1525 ldb_set_errstring(ldb, "Invalid reply type!");
1586 struct ldb_context *ldb;
1595 ldb = ldb_module_get_ctx(ctx->module);
1619 ret = ldb_build_mod_req(&mod_req, ldb, first->parents,
1634 struct ldb_context *ldb;
1642 ldb = ldb_module_get_ctx(ctx->module);
1658 ldb_set_errstring(ldb, "Invalid reply type!");
1703 struct ldb_context *ldb;
1710 ldb = ldb_module_get_ctx(ctx->module);
1716 valdn = ldb_dn_from_ldb_val(first, ldb, &el->values[i]);
1718 ldb_debug(ldb, LDB_DEBUG_TRACE,
1765 struct ldb_context *ldb;
1776 ldb = ldb_module_get_ctx(ctx->module);
1797 ret = ldb_build_search_req(&search, ldb, delop,
1807 return ldb_request(ldb, search);
1815 struct ldb_context *ldb;
1823 ldb = ldb_module_get_ctx(ctx->module);
1843 ldb_debug(ldb, LDB_DEBUG_TRACE,
1952 struct ldb_context *ldb;
1960 ldb = ldb_module_get_ctx(ctx->module);
1964 ret = ldb_build_search_req(&search, ldb, anc_ctx,
1973 return ldb_request(ldb, search);
1983 struct ldb_context *ldb;
1993 ldb = ldb_module_get_ctx(ctx->module);
2013 ldb_debug(ldb, LDB_DEBUG_TRACE,
2042 valdn = ldb_dn_from_ldb_val(new_list, ldb, &el->values[i]);
2044 ldb_debug(ldb, LDB_DEBUG_TRACE,
2104 struct ldb_context *ldb;
2118 ldb = ldb_module_get_ctx(ctx->module);
2153 diff[j] = ldb_dn_from_ldb_val(diff, ldb, &el->values[i]);
2247 ret = ldb_build_mod_req(&mod_req, ldb, delop,
2264 struct ldb_context *ldb;
2271 ldb = ldb_module_get_ctx(ctx->module);
2286 ldb_debug(ldb, LDB_DEBUG_TRACE, "Got an entry on a non search op?!");
2319 struct ldb_context *ldb;
2325 ldb = ldb_module_get_ctx(ctx->module);
2333 valdn = ldb_dn_from_ldb_val(delop, ldb, &el->values[i]);
2335 ldb_debug(ldb, LDB_DEBUG_TRACE,
2584 struct ldb_context *ldb;
2591 ldb = ldb_module_get_ctx(ctx->module);
2600 ret = ldb_build_mod_req(&mod_req, ldb, del_ctx,
2682 struct ldb_context *ldb;
2689 ldb = ldb_module_get_ctx(ctx->module);
2716 ret = ldb_build_mod_req(&mod_req, ldb, del_ctx,
2839 static int mbof_mod_process_membel(TALLOC_CTX *mem_ctx, struct ldb_context *ldb,
2854 struct ldb_context *ldb,
2872 struct ldb_context *ldb = ldb_module_get_ctx(module);
2889 ldb_debug(ldb, LDB_DEBUG_ERROR,
2897 ldb_debug(ldb, LDB_DEBUG_ERROR,
2930 ret = ldb_build_search_req(&search, ldb, mod_ctx,
2940 return ldb_request(ldb, search);
2948 struct ldb_context *ldb;
2954 ldb = ldb_module_get_ctx(ctx->module);
2970 ldb_debug(ldb, LDB_DEBUG_TRACE,
2990 ldb_debug(ldb, LDB_DEBUG_TRACE, "Entry not found (%s)",
3044 struct ldb_context *ldb;
3053 ldb = ldb_module_get_ctx(ctx->module);
3075 ret = ldb_build_search_req(&search, ldb, igh,
3085 return ldb_request(ldb, search);
3173 struct ldb_context *ldb;
3178 ldb = ldb_module_get_ctx(ctx->module);
3180 ret = ldb_build_mod_req(&mod_req, ldb, ctx->req,
3194 struct ldb_context *ldb;
3201 ldb = ldb_module_get_ctx(ctx->module);
3216 ldb_debug(ldb, LDB_DEBUG_TRACE, "Invalid reply type!");
3217 ldb_set_errstring(ldb, "Invalid reply type!");
3256 struct ldb_context *ldb;
3268 ldb = ldb_module_get_ctx(ctx->module);
3321 ret = ldb_build_mod_req(&mod_req, ldb, ctx->req,
3335 struct ldb_context *ldb;
3342 ldb = ldb_module_get_ctx(ctx->module);
3357 ldb_debug(ldb, LDB_DEBUG_TRACE, "Invalid reply type!");
3358 ldb_set_errstring(ldb, "Invalid reply type!");
3383 struct ldb_context *ldb;
3388 ldb = ldb_module_get_ctx(ctx->module);
3390 ret = mbof_mod_process_membel(mod_ctx, ldb, mod_ctx->entry, mod_ctx->membel,
3424 struct ldb_context *ldb,
3443 ret = mbof_fill_dn_array(mem_ctx, ldb, membel, &added);
3462 ret = mbof_fill_dn_array(mem_ctx, ldb, el, &removed);
3473 ret = mbof_fill_dn_array(mem_ctx, ldb, el, &removed);
3482 ret = mbof_fill_dn_array(mem_ctx, ldb, el, &added);
3639 struct ldb_context *ldb;
3644 ldb = ldb_module_get_ctx(ctx->module);
3649 ret = mbof_fill_dn_array(mod_ctx, ldb, el, &parents);
3757 struct ldb_context *ldb,
3782 valdn = ldb_dn_from_ldb_val(ar, ldb, &el->values[i]);
3784 ldb_debug(ldb, LDB_DEBUG_TRACE, "Invalid dn value: [%s]",
3929 struct ldb_context *ldb = ldb_module_get_ctx(module);
3949 ret = ldb_build_search_req(&src_req, ldb, ctx,
3957 return ldb_request(ldb, src_req);
4035 struct ldb_context *ldb = ldb_module_get_ctx(ctx->module);
4049 ret = ldb_build_search_req(&req, ldb, ctx,
4057 return ldb_request(ldb, req);
4063 struct ldb_context *ldb;
4075 ldb = ldb_module_get_ctx(ctx->module);
4188 ldb_debug(ldb, LDB_DEBUG_ERROR,
4401 struct ldb_context *ldb = ldb_module_get_ctx(ctx->module);
4493 ret = ldb_build_mod_req(&req, ldb, ctx, msg, NULL,
4512 struct ldb_context *ldb;
4516 ldb = ldb_module_get_ctx(ctx->module);
4531 ldb_debug(ldb, LDB_DEBUG_TRACE, "Got an entry on a non search op?!");
4557 struct ldb_context *ldb = ldb_module_get_ctx(module);
4562 ret = ldb_schema_attribute_add(ldb, DB_MEMBER, 0, LDB_SYNTAX_DN);
4565 ret = ldb_schema_attribute_add(ldb, DB_MEMBEROF, 0, LDB_SYNTAX_DN);