diff options
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async_initgroups.c | 14 | ||||
-rw-r--r-- | src/providers/ldap/sdap_async_private.h | 8 |
2 files changed, 15 insertions, 7 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index 34a8e36a..8524b137 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -196,13 +196,13 @@ fail: return ret; } -static int sdap_initgr_common_store(struct sysdb_ctx *sysdb, - struct sdap_options *opts, - const char *name, - enum sysdb_member_type type, - char **sysdb_grouplist, - struct sysdb_attrs **ldap_groups, - int ldap_groups_count) +int sdap_initgr_common_store(struct sysdb_ctx *sysdb, + struct sdap_options *opts, + const char *name, + enum sysdb_member_type type, + char **sysdb_grouplist, + struct sysdb_attrs **ldap_groups, + int ldap_groups_count) { TALLOC_CTX *tmp_ctx; char **ldap_grouplist = NULL; diff --git a/src/providers/ldap/sdap_async_private.h b/src/providers/ldap/sdap_async_private.h index c107a838..c0faab50 100644 --- a/src/providers/ldap/sdap_async_private.h +++ b/src/providers/ldap/sdap_async_private.h @@ -106,6 +106,14 @@ int sdap_save_users(TALLOC_CTX *memctx, int num_users, char **_usn_value); +int sdap_initgr_common_store(struct sysdb_ctx *sysdb, + struct sdap_options *opts, + const char *name, + enum sysdb_member_type type, + char **sysdb_grouplist, + struct sysdb_attrs **ldap_groups, + int ldap_groups_count); + errno_t get_sysdb_grouplist(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, const char *name, |