summaryrefslogtreecommitdiffstats
path: root/ldb/common
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-01-28 08:43:12 -0500
committerSimo Sorce <idra@samba.org>2009-01-28 08:43:12 -0500
commit11e7110cee5c95bebe5f746287e7792e88cf6e83 (patch)
tree1cb140fbafd45c948868d048fd3b01539e2026d8 /ldb/common
parentebd7edeba105768909aba02ceee922b3c6708581 (diff)
downloadsssd-11e7110cee5c95bebe5f746287e7792e88cf6e83.tar.gz
sssd-11e7110cee5c95bebe5f746287e7792e88cf6e83.tar.xz
sssd-11e7110cee5c95bebe5f746287e7792e88cf6e83.zip
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.
Diffstat (limited to 'ldb/common')
-rw-r--r--ldb/common/ldb_modules.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ldb/common/ldb_modules.c b/ldb/common/ldb_modules.c
index 8db28d262..0fcdf937c 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
*/