diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-05-03 05:21:33 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-04 10:46:55 -0400 |
commit | f62b9b41b0a29a0294d6e532e2bed2b4ce9012e4 (patch) | |
tree | ca20778c52c59aa6a4a1f58b1f84433c26191a5e /src/db/sysdb.h | |
parent | 9dfa22c3925792204b22962851dd44175e1b5735 (diff) | |
download | sssd-f62b9b41b0a29a0294d6e532e2bed2b4ce9012e4.tar.gz sssd-f62b9b41b0a29a0294d6e532e2bed2b4ce9012e4.tar.xz sssd-f62b9b41b0a29a0294d6e532e2bed2b4ce9012e4.zip |
Add a function for searching netgroups with custom filter
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index a7d3e7ea4..c133072dd 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -713,6 +713,14 @@ int sysdb_delete_group(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *name, gid_t gid); +int sysdb_search_netgroups(TALLOC_CTX *mem_ctx, + struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, + const char *sub_filter, + const char **attrs, + size_t *msgs_count, + struct ldb_message ***msgs); + int sysdb_delete_netgroup(struct sysdb_ctx *sysdb, struct sss_domain_info *domain, const char *name); |