From bc58f5892d3a8f6b28e2148c5a0cca34b63ef354 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 25 Sep 2009 09:46:30 -0400 Subject: Initial implementation of sasl bind support Inits krb5 credentials, if sasl mech is GSSAPI. Tested with GSSAPI and host keytab as well as user credentials. Updates also manpages with the new options. --- server/providers/ldap/sdap_async.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'server/providers/ldap/sdap_async.h') diff --git a/server/providers/ldap/sdap_async.h b/server/providers/ldap/sdap_async.h index 08b84d8b..b79960a5 100644 --- a/server/providers/ldap/sdap_async.h +++ b/server/providers/ldap/sdap_async.h @@ -54,9 +54,19 @@ struct tevent_req *sdap_get_groups_send(TALLOC_CTX *memctx, int sdap_get_groups_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, char **timestamp); +struct tevent_req *sdap_kinit_send(TALLOC_CTX *memctx, + struct tevent_context *ev, + struct sdap_handle *sh, + const char *keytab, + const char *principal, + const char *realm); +int sdap_kinit_recv(struct tevent_req *req, enum sdap_result *result); + struct tevent_req *sdap_auth_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, + const char *sasl_mech, + const char *sasl_user, const char *user_dn, const char *authtok_type, struct sdap_blob authtok); -- cgit