diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-10 14:44:32 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-12 21:28:06 -0400 |
commit | 1ed3a0d1d98ae410fcd716ec5c7202de2c082597 (patch) | |
tree | 9503ffd712c0f88a97a636bd007e9209a08c87c5 /src/providers/ldap/sdap_async_private.h | |
parent | 2394ec78b31c34f928843a56b9c395380347c418 (diff) | |
download | sssd-1ed3a0d1d98ae410fcd716ec5c7202de2c082597.tar.gz sssd-1ed3a0d1d98ae410fcd716ec5c7202de2c082597.tar.xz sssd-1ed3a0d1d98ae410fcd716ec5c7202de2c082597.zip |
LDAP: Add helper function to get list of a user's groups from sysdb
Diffstat (limited to 'src/providers/ldap/sdap_async_private.h')
-rw-r--r-- | src/providers/ldap/sdap_async_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_private.h b/src/providers/ldap/sdap_async_private.h index f6ed6800..c107a838 100644 --- a/src/providers/ldap/sdap_async_private.h +++ b/src/providers/ldap/sdap_async_private.h @@ -105,4 +105,9 @@ int sdap_save_users(TALLOC_CTX *memctx, struct sysdb_attrs **users, int num_users, char **_usn_value); + +errno_t get_sysdb_grouplist(TALLOC_CTX *mem_ctx, + struct sysdb_ctx *sysdb, + const char *name, + char ***grouplist); #endif /* _SDAP_ASYNC_PRIVATE_H_ */ |