1sasl_server_uSsiemrpdlbe_sAeuttphaesnst_itc(a3tSiAoSnL)Security Lsaayselr_sLeirbvrearr_yusFeurndcbt_isoentspass_t(3SASL)
2
3
4

NAME

6       sasl_server_userdb_setpass_t - user database plaintext password setting
7       callback function
8

SYNOPSIS

10       cc [ flag ... ] file ... -lsasl   [ library ... ]
11       #include <sasl/sasl.h>
12
13       int sasl_server_userdb_setpass_t(sasl_conn_t *conn, void *context,
14            const char *user, const char *pass, unsigned passlen, struct propctx *propctx,
15            unsigned flags);
16
17

DESCRIPTION

19       Use the sasl_server_userdb_setpass_t() callback function  to  store  or
20       change a a plaintext password in the callback supplier's user database.
21

PARAMETERS

23       conn       The SASL connection context.
24
25
26       context    The context from the callback record.
27
28
29       user       A null-terminated user name with user@realm syntax.
30
31
32       pass       The  password  to  check.  This string cannot be null-termi‐
33                  nated.
34
35
36       passlen    The length of pass.
37
38
39       propctx    Auxiliary properties. The value of propctx is not stored.
40
41
42       flags      See sasl_setpass(3SASL). sasl_server_userdb_setpass_t() uses
43                  the same flags that are passed to sasl_setpass().
44
45

RETURN VALUES

47       Like  other  SASL  callback  functions,  sasl_server_userdb_setpass_t()
48       returns an integer that corresponds to a SASL error code. See  <sasl.h>
49       for a complete list of SASL error codes.
50

ERRORS

52       SASL_OK    The call to sasl_server_userdb_setpass_t() was successful.
53
54
55
56       See sasl_errors(3SASL) for information on SASL error codes.
57

ATTRIBUTES

59       See attributes(5) for descriptions of the following attributes:
60
61
62
63
64       ┌─────────────────────────────┬─────────────────────────────┐
65       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
66       ├─────────────────────────────┼─────────────────────────────┤
67       │Availability                 │SUNWlibsasl                  │
68       ├─────────────────────────────┼─────────────────────────────┤
69       │Interface Stability          │Evolving                     │
70       ├─────────────────────────────┼─────────────────────────────┤
71       │MT-Level                     │MT-Safe                      │
72       └─────────────────────────────┴─────────────────────────────┘
73

SEE ALSO

75       sasl_errors(3SASL), sasl_setpass(3SASL), attributes(5)
76
77
78
79SunOS 5.11                        27 Oct 200s3asl_server_userdb_setpass_t(3SASL)
Impressum