diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-10 14:49:58 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-12 21:28:06 -0400 |
commit | 6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9 (patch) | |
tree | a4c92cd0bb17fbcb32af632a3cec354c182e4901 /src/providers/ldap/sdap_async_private.h | |
parent | 1ed3a0d1d98ae410fcd716ec5c7202de2c082597 (diff) | |
download | sssd-6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9.tar.gz sssd-6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9.tar.xz sssd-6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9.zip |
LDAP: Make sdap_initgr_common_store() non-static
Move it to a private header so it can be reused by other
initgroups C files.
Diffstat (limited to 'src/providers/ldap/sdap_async_private.h')
-rw-r--r-- | src/providers/ldap/sdap_async_private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_private.h b/src/providers/ldap/sdap_async_private.h index c107a8386..c0faab50e 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, |