Lines Matching defs:res
98 struct ldb_result *res)
110 username = ldb_msg_find_attr_as_string(res->msgs[0], SYSDB_NAME, NULL);
128 ctx->groups = talloc_array(mem_ctx, uint32_t, res->count);
136 for (ctx->gnum = 0, i = 0; i < res->count; i++) {
137 ctx->groups[ctx->gnum] = ldb_msg_find_attr_as_uint(res->msgs[i],
211 struct ldb_result *res;
225 ret = sysdb_initgroups(sbus_req, domain, data->filter_value, &res);
226 if (ret == ENOENT || (ret == EOK && res->count == 0)) {
235 ctx = create_initgr_ctx(sbus_req, data->domain, res);
249 talloc_free(res);