Lines Matching defs:sysdb_res
2304 struct ldb_result *sss_merge_ldb_results(struct ldb_result *sysdb_res,
2311 return sysdb_res;
2314 total = sysdb_res->count + ts_res->count;
2315 sysdb_res->msgs = talloc_realloc(sysdb_res, sysdb_res->msgs,
2318 if (sysdb_res->msgs == NULL) {
2323 count = sysdb_res->count;
2325 for (ii = 0; ii < sysdb_res->count; ii++) {
2326 ret = ldb_dn_compare(ts_res->msgs[i]->dn, sysdb_res->msgs[ii]->dn);
2332 if (ii < sysdb_res->count) {
2335 sysdb_res->msgs[ii] = talloc_steal(sysdb_res, ts_res->msgs[i]);
2339 sysdb_res->msgs[count] = talloc_steal(sysdb_res, ts_res->msgs[i]);
2344 sysdb_res->msgs = talloc_realloc(sysdb_res, sysdb_res->msgs,
2347 if (sysdb_res->msgs == NULL) {
2351 sysdb_res->count = count;
2352 return sysdb_res;