From 11e7110cee5c95bebe5f746287e7792e88cf6e83 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 28 Jan 2009 08:43:12 -0500 Subject: Add a memberof plugin so that we can properly apply the same group memberships as in IPA if necessary. This patch slightly modifies ldb to split out a modules header file without exposing the private headers. --- ldb/common/ldb_modules.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ldb/common/ldb_modules.c') diff --git a/ldb/common/ldb_modules.c b/ldb/common/ldb_modules.c index 8db28d26..0fcdf937 100644 --- a/ldb/common/ldb_modules.c +++ b/ldb/common/ldb_modules.c @@ -486,6 +486,12 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[]) } while (0) + +struct ldb_context *ldb_module_get_ctx(struct ldb_module *module) +{ + return module->ldb; +} + /* helper functions to call the next module in chain */ -- cgit