sasl_server_userdb_checkpass_t(3)

sasl_server_userdb_checkpass_t3

Cyrus sasl documentation

Usage

#include <sasl/sasl.h>
int sasl_server_userdb_checkpass_t(sasl_conn_t *conn,
        void *context,
        const char *user,
        const char *pass,
        unsigned passlen,
        struct propctx *propctx)

Overview

int sasl_server_userdb_checkpass_t(sasl_conn_t *conn,
void *context,
const char *user,
const char *pass,
unsigned passlen,
struct propctx *propctx)

sasl_server_userdb_checkpass_t() is used to verify a plaintext password against the callback supplier’s user database. This is to allow additional ways to encode the userPassword property.

Parameters
•

conn – is the SASL connection context

•

context – context from the callback record

•

user – NUL terminated user name with user@realm syntax

•

pass – password to check (may not be NUL terminated)

•

passlen – length of the password

•

propctx – property context to fill in with userPassword

Return value

SASL callback functions should return SASL return codes. See sasl.h for a complete list. SASL_OK indicates success.

Other return codes indicate errors and should be handled.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 4 times.

  1. 3.1–9
  2. 10
  3. 11
  4. 12
  5. 13

Author

The Cyrus Team

From libsasl2-dev 2.1.28+dfsg1-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.