Lines Matching defs:dn
31 struct ldb_dn *dn,
38 struct ldb_dn *dn,
217 res->msgs[i]->dn));
219 ret = sysdb_delete_entry(sysdb, res->msgs[i]->dn, true);
224 res->msgs[i]->dn));
251 res->msgs[0]->dn));
253 ret = sysdb_delete_entry(sysdb, res->msgs[0]->dn, true);
258 res->msgs[0]->dn));
289 res->msgs[i]->dn));
291 ret = sysdb_delete_entry(sysdb, res->msgs[i]->dn, true);
296 res->msgs[i]->dn));
321 ret = sysdb_delete_entry(sysdb, res->msgs[i]->dn, true);
326 res->msgs[i]->dn));
332 update_dn = talloc_steal(tmp_ctx, res->msgs[i]->dn);
341 res->msgs[i]->dn,
417 struct ldb_dn *dn;
424 dn = ldb_dn_new_fmt(mem_ctx, sysdb->ldb, SYSDB_TMPL_SVC,
428 return dn;
438 struct ldb_dn **dn)
455 /* svc dn */
456 msg->dn = sysdb_svc_dn(domain->sysdb, msg, domain->name, primary_name);
457 if (!msg->dn) {
514 if (ret == EOK && dn) {
515 *dn = talloc_steal(mem_ctx, msg->dn);
529 struct ldb_dn *dn,
539 if (!dn || !protocols || !protocols[0]) {
549 msg->dn = dn;
606 struct ldb_dn *dn,
619 msg->dn = dn;
690 ret = sysdb_delete_entry(sysdb, res->msgs[i]->dn, false);
762 struct ldb_dn *dn;
770 dn = sysdb_svc_dn(domain->sysdb, tmp_ctx, domain->name, name);
771 if (!dn) {
776 ret = sysdb_set_entry_attr(domain->sysdb, dn, attrs, mod_op);
803 DEBUG(SSSDBG_OP_FAILURE, "Failed to build base dn\n");