Lines Matching defs:dn
49 struct ldb_dn *dn = NULL;
71 dn = ldb_dn_new_fmt(mem_ctx, domain->sysdb->ldb, SYSDB_TMPL_AUTOFS_ENTRY,
76 return dn;
86 struct ldb_dn *dn;
89 dn = sysdb_autofsentry_dn(mem_ctx, domain,
91 if (!dn) return NULL;
93 strdn = talloc_strdup(mem_ctx, ldb_dn_get_linearized(dn));
94 talloc_free(dn);
256 struct ldb_dn *dn;
310 dn = sysdb_autofsentry_dn(tmp_ctx, domain, map, key, value);
311 if (!dn) {
322 msg->dn = dn;
337 struct ldb_dn *dn;
340 dn = ldb_dn_new(NULL, sysdb_ctx_get_ldb(domain->sysdb), entry_dn);
341 if (!dn) {
345 ret = sysdb_delete_entry(domain->sysdb, dn, true);
346 talloc_free(dn);
416 struct ldb_dn *dn;
424 dn = sysdb_autofsmap_dn(tmp_ctx, domain, name);
425 if (!dn) {
430 ret = sysdb_set_entry_attr(domain->sysdb, dn, attrs, mod_op);