diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-06-13 12:17:55 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-07-08 19:29:53 -0400 |
commit | f7cfc12d431f2e435d7655d080db015ab9a7d554 (patch) | |
tree | 784bcae55f76799c0ca115bf2aa48481abe7b576 /server/db/sysdb.h | |
parent | f255b943157f76b53eb55c279e29e40a6c41a97a (diff) | |
download | sssd-f7cfc12d431f2e435d7655d080db015ab9a7d554.tar.gz sssd-f7cfc12d431f2e435d7655d080db015ab9a7d554.tar.bz2 sssd-f7cfc12d431f2e435d7655d080db015ab9a7d554.zip |
Implement the ldap identity module.
This uses and exapands the async helpers.
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r-- | server/db/sysdb.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h index a81f4630..d6ecb2ae 100644 --- a/server/db/sysdb.h +++ b/server/db/sysdb.h @@ -292,14 +292,18 @@ int sysdb_search_entry_recv(struct tevent_req *req, /* Search User (by uid or name) */ struct tevent_req *sysdb_search_user_by_name_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, + struct sysdb_ctx *sysdb, struct sysdb_handle *handle, struct sss_domain_info *domain, - const char *name); + const char *name, + const char **attrs); struct tevent_req *sysdb_search_user_by_uid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, + struct sysdb_ctx *sysdb, struct sysdb_handle *handle, struct sss_domain_info *domain, - uid_t uid); + uid_t uid, + const char **attrs); int sysdb_search_user_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct ldb_message **msg); @@ -314,15 +318,19 @@ int sysdb_delete_user_by_uid_recv(struct tevent_req *req); /* Search Group (gy gid or name) */ struct tevent_req *sysdb_search_group_by_name_send(TALLOC_CTX *mem_ctx, - struct tevent_context *ev, - struct sysdb_handle *handle, - struct sss_domain_info *domain, - const char *name); + struct tevent_context *ev, + struct sysdb_ctx *sysdb, + struct sysdb_handle *handle, + struct sss_domain_info *domain, + const char *name, + const char **attrs); struct tevent_req *sysdb_search_group_by_gid_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, + struct sysdb_ctx *sysdb, struct sysdb_handle *handle, struct sss_domain_info *domain, - gid_t gid); + gid_t gid, + const char **attrs); int sysdb_search_group_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct ldb_message **msg); |