Lines Matching refs:password
448 * Retrieve the user password.
450 int _plug_get_password(const sasl_utils_t *utils, sasl_secret_t **password,
458 *password = NULL;
461 /* see if we were given the password in the prompt */
472 *password = (sasl_secret_t *) utils->malloc(sizeof(sasl_secret_t) +
474 if (!*password) {
479 (*password)->len=prompt->len;
480 memcpy((*password)->data, prompt->result, prompt->len);
481 (*password)->data[(*password)->len]=0;
493 ret = pass_cb(utils->conn, pass_context, SASL_CB_PASS, password);
497 if (!*password) {
520 /* see if we were given the password in the prompt */