summaryrefslogtreecommitdiff
path: root/server/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-06-13 12:17:55 -0400
committerSimo Sorce <ssorce@redhat.com>2009-07-08 19:29:53 -0400
commitf7cfc12d431f2e435d7655d080db015ab9a7d554 (patch)
tree784bcae55f76799c0ca115bf2aa48481abe7b576 /server/providers/ldap/sdap_async.h
parentf255b943157f76b53eb55c279e29e40a6c41a97a (diff)
downloadsssd-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/providers/ldap/sdap_async.h')
-rw-r--r--server/providers/ldap/sdap_async.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/server/providers/ldap/sdap_async.h b/server/providers/ldap/sdap_async.h
index 37c307a0..6ed95320 100644
--- a/server/providers/ldap/sdap_async.h
+++ b/server/providers/ldap/sdap_async.h
@@ -45,7 +45,6 @@ struct tevent_req *sdap_connect_send(TALLOC_CTX *memctx,
struct tevent_context *ev,
struct sdap_options *opts,
bool use_start_tls);
-
int sdap_connect_recv(struct tevent_req *req,
TALLOC_CTX *memctx,
struct sdap_handle **sh);
@@ -58,7 +57,6 @@ struct tevent_req *sdap_get_users_send(TALLOC_CTX *memctx,
struct sdap_handle *sh,
const char **attrs,
const char *wildcard);
-
int sdap_get_users_recv(struct tevent_req *req);
struct tevent_req *sdap_get_groups_send(TALLOC_CTX *memctx,
@@ -69,7 +67,6 @@ struct tevent_req *sdap_get_groups_send(TALLOC_CTX *memctx,
struct sdap_handle *sh,
const char **attrs,
const char *wildcard);
-
int sdap_get_groups_recv(struct tevent_req *req);
struct tevent_req *sdap_auth_send(TALLOC_CTX *memctx,
@@ -77,5 +74,14 @@ struct tevent_req *sdap_auth_send(TALLOC_CTX *memctx,
struct sdap_handle *sh,
const char *user_dn,
const char *password);
-
int sdap_auth_recv(struct tevent_req *req, enum sdap_result *result);
+
+struct tevent_req *sdap_get_initgr_send(TALLOC_CTX *memctx,
+ struct tevent_context *ev,
+ struct sss_domain_info *dom,
+ struct sysdb_ctx *sysdb,
+ struct sdap_options *opts,
+ struct sdap_handle *sh,
+ const char *name,
+ const char **grp_attrs);
+int sdap_get_initgr_recv(struct tevent_req *req);