Lines Matching defs:res
250 struct ldb_result *res;
267 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn,
277 if (res->count > 1) {
282 } else if (res->count == 0) {
286 *_result = talloc_steal(mem_ctx, res);
309 struct ldb_result *res;
326 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn,
336 if (res->count == 0) {
341 *_result = talloc_steal(mem_ctx, res);
543 struct ldb_result *res;
558 lret = ldb_search(domain->sysdb->ldb, tmp_ctx, &res, base_dn,
568 if (res->count == 0) {
573 *_result = talloc_steal(mem_ctx, res);
597 struct ldb_result *res;
605 ret = sysdb_gpo_get_gpo_result_object(tmp_ctx, domain, attrs, &res);
610 ini_value = ldb_msg_find_attr_as_string(res->msgs[0],
640 struct ldb_result *res;
652 ret = sysdb_gpo_get_gpo_result_object(mem_ctx, domain, NULL, &res);
660 ret = sysdb_delete_entry(domain->sysdb, res->msgs[0]->dn, true);