Lines Matching refs:sdom
38 struct sdap_domain *sdom;
50 return ldap_id_cleanup(cleanup_ctx->ctx->opts, cleanup_ctx->sdom);
54 struct sdap_domain *sdom)
74 cleanup_ctx = talloc_zero(sdom, struct ldap_id_cleanup_ctx);
81 cleanup_ctx->sdom = sdom;
83 name = talloc_asprintf(cleanup_ctx, "Cleanup of %s", sdom->dom->name);
88 ret = be_ptask_create_sync(sdom, id_ctx->be, period, first_delay,
92 &sdom->cleanup_task);
95 "task for %s\n", sdom->dom->name);
99 talloc_steal(sdom->cleanup_task, cleanup_ctx);
118 struct sdap_domain *sdom)
129 ret = sysdb_transaction_start(sdom->dom->sysdb);
136 ret = cleanup_users(opts, sdom->dom);
141 ret = cleanup_groups(tmp_ctx, sdom->dom->sysdb, sdom->dom);
146 ret = sysdb_transaction_commit(sdom->dom->sysdb);
153 sdom->last_purge = tevent_timeval_current();
157 tret = sysdb_transaction_cancel(sdom->dom->sysdb);