From 64af76e2bef2565caa9738f675c108a4b3789237 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 18 Oct 2012 18:43:56 -0400 Subject: Change pam data auth tokens. Use the new authtok abstraction and interfaces throught the code. --- src/providers/ipa/ipa_auth.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/providers/ipa') diff --git a/src/providers/ipa/ipa_auth.c b/src/providers/ipa/ipa_auth.c index eb62f029..ee15afa5 100644 --- a/src/providers/ipa/ipa_auth.c +++ b/src/providers/ipa/ipa_auth.c @@ -332,7 +332,6 @@ static void ipa_migration_flag_connect_done(struct tevent_req *req) const char **attrs; struct ldb_message *user_msg; const char *dn; - struct dp_opt_blob password; int dp_err = DP_ERR_FATAL; int ret; @@ -374,11 +373,8 @@ static void ipa_migration_flag_connect_done(struct tevent_req *req) goto done; } - password.data = state->pd->authtok; - password.length = state->pd->authtok_size; - req = sdap_auth_send(state, state->ev, state->sh, NULL, NULL, dn, - "password", password); + &state->pd->authtok); if (req == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("sdap_auth_send failed.\n")); goto done; -- cgit