diff options
author | Simo Sorce <simo@redhat.com> | 2012-10-18 18:43:56 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-01-10 12:24:59 -0500 |
commit | 64af76e2bef2565caa9738f675c108a4b3789237 (patch) | |
tree | fa24e7f17f07136494a4c515c63b8795be7130e4 /src/providers/ldap/sdap_async.h | |
parent | 918b2a5a91f1c551d48f4bffed2a28c36fdb4be1 (diff) | |
download | sssd-64af76e2bef2565caa9738f675c108a4b3789237.tar.gz sssd-64af76e2bef2565caa9738f675c108a4b3789237.tar.bz2 sssd-64af76e2bef2565caa9738f675c108a4b3789237.zip |
Change pam data auth tokens.
Use the new authtok abstraction and interfaces throught the code.
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r-- | src/providers/ldap/sdap_async.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h index 8c16d94e..c5dc1703 100644 --- a/src/providers/ldap/sdap_async.h +++ b/src/providers/ldap/sdap_async.h @@ -108,8 +108,7 @@ struct tevent_req *sdap_auth_send(TALLOC_CTX *memctx, const char *sasl_mech, const char *sasl_user, const char *user_dn, - const char *authtok_type, - struct dp_opt_blob authtok); + struct sss_auth_token *authtok); int sdap_auth_recv(struct tevent_req *req, TALLOC_CTX *memctx, @@ -128,8 +127,8 @@ struct tevent_req *sdap_exop_modify_passwd_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_handle *sh, char *user_dn, - char *password, - char *new_password); + const char *password, + const char *new_password); int sdap_exop_modify_passwd_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, enum sdap_result *result, char **user_error_msg); |