diff options
author | Simo Sorce <idra@samba.org> | 2009-01-28 08:43:12 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-01-28 08:43:12 -0500 |
commit | 11e7110cee5c95bebe5f746287e7792e88cf6e83 (patch) | |
tree | 1cb140fbafd45c948868d048fd3b01539e2026d8 /ldb/common | |
parent | ebd7edeba105768909aba02ceee922b3c6708581 (diff) | |
download | sssd-11e7110cee5c95bebe5f746287e7792e88cf6e83.tar.gz sssd-11e7110cee5c95bebe5f746287e7792e88cf6e83.tar.bz2 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.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |