From 996553cb421bddc32b27e1457dde9749adcf2a31 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 28 Feb 2009 18:54:10 -0500 Subject: Expose some more functions needed by the tests --- server/db/sysdb.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'server/db/sysdb.h') diff --git a/server/db/sysdb.h b/server/db/sysdb.h index b8393ffef..a112d65b5 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -142,7 +142,7 @@ int sysdb_initgroups(TALLOC_CTX *mem_ctx, bool legacy, sysdb_callback_t fn, void *ptr); - +struct ldb_context *sysdb_ctx_get_ldb(struct sysdb_ctx *ctx); struct sysdb_ctx *sysdb_req_get_ctx(struct sysdb_req *req); int sysdb_transaction(TALLOC_CTX *mem_ctx, @@ -198,4 +198,15 @@ int sysdb_legacy_store_group(struct sysdb_req *sysreq, const char **members, sysdb_callback_t fn, void *pvt); +int sysdb_legacy_add_group_member(struct sysdb_req *sysreq, + const char *domain, + const char *group, + const char *member, + sysdb_callback_t fn, void *pvt); + +int sysdb_legacy_remove_group_member(struct sysdb_req *sysreq, + const char *domain, + const char *group, + const char *member, + sysdb_callback_t fn, void *pvt); #endif /* __SYS_DB_H__ */ -- cgit