Lines Matching refs:dn

77     msg->dn = ldb_dn_new(msg, ctx->ldb, SYSDB_BASE);
78 if (!msg->dn) {
190 ldb_dn_get_linearized(res->msgs[i]->dn));
200 msg->dn = res->msgs[i]->dn;
215 val = ldb_dn_get_component_val(res->msgs[i]->dn, 2);
475 if ((ldb_dn_compare(msg->dn, domain_dn) == 0) ||
476 (ldb_dn_compare(msg->dn, users_dn) == 0) ||
477 (ldb_dn_compare(msg->dn, groups_dn) == 0)) {
484 orig_dn = msg->dn;
485 msg->dn = ldb_dn_new(msg, sysdb->ldb,
487 if (!msg->dn) {
496 ldb_dn_get_linearized(msg->dn),
556 msg->dn = ldb_dn_new(tmp_ctx, ldb, SYSDB_BASE);
557 if (!msg->dn) {
633 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@ATTRIBUTES");
634 if (!msg->dn) {
683 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@INDEXLIST");
684 if (!msg->dn) {
712 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@MEMBEROF-REBUILD");
713 if (!msg->dn) {
756 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@INDEXLIST");
757 if (!msg->dn) {
824 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@ATTRIBUTES");
825 if (!msg->dn) {
880 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@INDEXLIST");
881 if (!msg->dn) {
936 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@INDEXLIST");
937 if (!msg->dn) {
998 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@INDEXLIST");
999 if (!msg->dn) {
1096 msg->dn = ldb_dn_from_ldb_val(tmp_ctx, sysdb->ldb, &memberof_el->values[j]);
1097 if (msg->dn == NULL) {
1102 if (!ldb_dn_validate(msg->dn)) {
1122 name, ldb_dn_get_linearized(msg->dn));
1138 msg->dn = ldb_dn_from_ldb_val(tmp_ctx, sysdb->ldb, &memberof_el->values[j]);
1139 if (msg->dn == NULL) {
1167 ldb_dn_get_linearized(user->dn));
1169 ret = ldb_delete(sysdb->ldb, user->dn);
1269 ldb_dn_get_linearized(entry->dn));
1271 ret = ldb_delete(sysdb->ldb, entry->dn);
1274 ldb_dn_get_linearized(entry->dn));
1311 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@INDEXLIST");
1312 if (!msg->dn) {
1363 DEBUG(SSSDBG_OP_FAILURE, "Failed to build base dn\n");
1383 ldb_dn_get_linearized(dom_res->msgs[i]->dn));
1390 "Failed to build base dn for subdomain %s\n", tmp_str);
1405 n = ldb_dn_get_comp_num(res->msgs[j]->dn);
1410 ret = ldb_delete(sysdb->ldb, res->msgs[j]->dn);
1414 ldb_dn_get_linearized(res->msgs[j]->dn));
1452 DEBUG(SSSDBG_OP_FAILURE, "Failed to build base dn\n");
1463 msg->dn = ldb_dn_new(msg, sysdb->ldb, SYSDB_TMPL_RANGE_BASE);
1464 if (!msg->dn) {
1501 ldb_dn_get_linearized(res->msgs[i]->dn));
1502 ret = ldb_delete(sysdb->ldb, res->msgs[i]->dn);
1506 ldb_dn_get_linearized(res->msgs[i]->dn));
1517 ldb_dn_get_linearized(res->msgs[i]->dn));
1521 ret = ldb_rename(sysdb->ldb, res->msgs[i]->dn, newdn);
1525 ldb_dn_get_linearized(res->msgs[i]->dn),
1527 ret = ldb_delete(sysdb->ldb, res->msgs[i]->dn);
1531 ldb_dn_get_linearized(res->msgs[i]->dn));
1570 msg->dn = ldb_dn_new(tmp_ctx, sysdb->ldb, "@ATTRIBUTES");
1571 if (!msg->dn) {
1620 msg->dn = ldb_dn_new(msg, sysdb->ldb, "@INDEXLIST");
1621 if (msg->dn == NULL) {
1654 struct ldb_dn *dn,
1659 val = ldb_dn_get_component_val(dn, domain_index);
1679 dom_dn = msg->dn;
1963 mod_msg->dn = object->dn;
1969 ldb_dn_get_linearized(mod_msg->dn));
1980 name_attrs[c], ldb_dn_get_linearized(object->dn));
1993 dn_attrs[c], ldb_dn_get_linearized(object->dn));
2001 "Cannot expire %s\n", ldb_dn_get_linearized(object->dn));
2011 "Cannot modify %s\n", ldb_dn_get_linearized(object->dn));
2016 new_object_dn = qualify_rdn(mod_msg, ldb, names, mod_msg->dn);
2022 ret = ldb_rename(ldb, object->dn, new_object_dn);
2026 ldb_dn_get_linearized(object->dn),
2073 ldb_dn_get_linearized(objects->msgs[c]->dn), ret);
2098 true, /* qualify dn */