Lines Matching defs:base_dn
496 struct ldb_dn *base_dn;
499 base_dn = ldb_dn_new_fmt(data, data->ctx->sysdb->ldb, SYSDB_TMPL_USER_BASE,
501 if (base_dn == NULL) {
505 ret = sysdb_search_entry(data, data->ctx->sysdb, base_dn,
4254 struct ldb_dn *base_dn;
4260 base_dn = sysdb_netgroup_base_dn(test_ctx, test_ctx->domain);
4261 fail_if(base_dn == NULL, "Could not get netgroup base DN");
4263 strdn = ldb_dn_get_linearized(base_dn);
5436 struct ldb_dn *base_dn;
5481 base_dn = sysdb_domain_dn(test_ctx, test_ctx->domain);
5482 fail_if(base_dn == NULL, "Cannot construct basedn\n");
5485 base_dn, LDB_SCOPE_SUBTREE, filter, no_attrs,
6017 struct ldb_dn *base_dn = NULL;
6056 base_dn =ldb_dn_new(test_ctx, test_ctx->sysdb->ldb, "cn=sysdb");
6057 fail_unless(base_dn != NULL);
6062 ret = ldb_search(test_ctx->sysdb->ldb, test_ctx, &results, base_dn,
6081 ret = ldb_search(test_ctx->sysdb->ldb, test_ctx, &results, base_dn,