Lines Matching defs:sysdb
29 #include "db/sysdb.h"
34 struct sysdb_ctx *sysdb;
37 static errno_t sdap_reinit_clear_usn(struct sysdb_ctx *sysdb,
66 state->sysdb = be_ctx->domain->sysdb;
75 ret = sdap_reinit_clear_usn(state->sysdb, state->domain);
105 static void sdap_delete_msgs_usn(struct sysdb_ctx *sysdb,
115 ret = sysdb_set_entry_attr(sysdb, msgs[i]->dn, &usn_el, SYSDB_MOD_DEL);
123 static errno_t sdap_reinit_clear_usn(struct sysdb_ctx *sysdb,
140 ret = sysdb_transaction_start(sysdb);
152 sdap_delete_msgs_usn(sysdb, msgs, msgs_num);
161 sdap_delete_msgs_usn(sysdb, msgs, msgs_num);
173 sdap_delete_msgs_usn(sysdb, msgs, msgs_num);
177 ret = sysdb_transaction_commit(sysdb);
186 sret = sysdb_transaction_cancel(sysdb);
215 * sysdb so we can postpone starting up the enumeration
238 static void sdap_delete_msgs_dn(struct sysdb_ctx *sysdb,
246 ret = sysdb_delete_entry(sysdb, msgs[i]->dn, true);
263 struct sysdb_ctx *sysdb = domain->sysdb;
271 ret = sysdb_transaction_start(sysdb);
283 sdap_delete_msgs_dn(sysdb, msgs, msgs_num);
293 sdap_delete_msgs_dn(sysdb, msgs, msgs_num);
306 sdap_delete_msgs_dn(sysdb, msgs, msgs_num);
310 ret = sysdb_transaction_commit(sysdb);
319 sret = sysdb_transaction_cancel(sysdb);