Searched refs:sparams (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/sasl_plugins/cram/
H A Dcram.c114 sasl_server_params_t *sparams,
122 text = sparams->utils->malloc(sizeof(server_context_t));
124 MEMERROR( sparams->utils );
141 static char *gettime(sasl_server_params_t *sparams) argument
147 ret= sparams->utils->malloc(15);
157 static char *randomdigits(sasl_server_params_t *sparams) argument
173 sparams->utils->rand(sparams->utils->rpool,
177 sparams->utils->rand(sparams
113 crammd5_server_mech_new(void *glob_context __attribute__((unused)), sasl_server_params_t *sparams, const char *challenge __attribute__((unused)), unsigned challen __attribute__((unused)), void **conn_context) argument
192 crammd5_server_mech_step1(server_context_t *text, sasl_server_params_t *sparams, const char *clientin __attribute__((unused)), unsigned clientinlen, const char **serverout, unsigned *serveroutlen, sasl_out_params_t *oparams __attribute__((unused))) argument
245 crammd5_server_mech_step2(server_context_t *text, sasl_server_params_t *sparams, const char *clientin, unsigned clientinlen, const char **serverout __attribute__((unused)), unsigned *serveroutlen __attribute__((unused)), sasl_out_params_t *oparams) argument
415 crammd5_server_mech_step(void *conn_context, sasl_server_params_t *sparams, const char *clientin, unsigned clientinlen, const char **serverout, unsigned *serveroutlen, sasl_out_params_t *oparams) argument
[all...]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dexternal.c74 sasl_server_params_t *sparams,
80 || !sparams
81 || !sparams->utils
82 || !sparams->utils->conn)
85 if (!sparams->utils->conn->external.auth_id)
95 sasl_server_params_t *sparams,
104 if (!sparams
105 || !sparams->utils
106 || !sparams->utils->conn
107 || !sparams
73 external_server_mech_new(void *glob_context __attribute__((unused)), sasl_server_params_t *sparams, const char *challenge __attribute__((unused)), unsigned challen __attribute__((unused)), void **conn_context) argument
94 external_server_mech_step(void *conn_context __attribute__((unused)), sasl_server_params_t *sparams, const char *clientin, unsigned clientinlen, const char **serverout, unsigned *serveroutlen, sasl_out_params_t *oparams) argument
168 external_server_mech_avail(void *glob_context __attribute__((unused)), sasl_server_params_t *sparams, void **conn_context __attribute__((unused))) argument
[all...]
H A Dserver.c184 s_conn->sparams->propctx, flags);
208 ((sasl_server_conn_t *)conn)->sparams,
253 cur->mech->plug->mech_dispose(cur->context, s_conn->sparams->utils);
273 s_conn->sparams->utils);
283 cur->mech->plug->mech_dispose(cur->context, s_conn->sparams->utils);
289 _sasl_free_utils(&s_conn->sparams->utils);
291 if (s_conn->sparams->propctx)
292 prop_dispose(&s_conn->sparams->propctx);
297 if (s_conn->sparams)
298 sasl_FREE(s_conn->sparams);
[all...]
H A Dcheckpw.c174 prop_clear(sconn->sparams->propctx, 0);
177 result = prop_request(sconn->sparams->propctx, password_request);
186 result = prop_getnames(sconn->sparams->propctx, password_request,
219 ret = _sasl_make_plain_secret(sconn->sparams->utils, db_secret,
240 sconn->sparams->utils->free(construct);
251 if (userid) sconn->sparams->utils->free(userid);
287 ret = prop_getnames(sconn->sparams->propctx, password_request,
337 if (userid) sconn->sparams->utils->free(userid);
H A Dcanonusr.c180 sconn->sparams,
217 _sasl_auxprop_lookup(sconn->sparams, 0,
221 _sasl_auxprop_lookup(sconn->sparams, SASL_AUXPROP_AUTHZID,
455 sasl_server_params_t *sparams,
461 return _canonuser_internal(sparams->utils,
454 _cu_internal_server(void *glob_context __attribute__((unused)), sasl_server_params_t *sparams, const char *user, unsigned ulen, unsigned flags, char *out_user, unsigned out_umax, unsigned *out_ulen) argument
H A Dauxprop.c808 prop_clear(sconn->sparams->propctx,1);
812 result = prop_request(sconn->sparams->propctx, propnames);
834 return sconn->sparams->propctx;
953 void _sasl_auxprop_lookup(sasl_server_params_t *sparams, argument
963 _sasl_global_context_t *gctx = sparams->utils->conn->gctx;
967 if(_sasl_getcallback(sparams->utils->conn,
978 sparams, flags, user, ulen);
1006 sparams, flags, user, ulen);
1018 _sasl_log(sparams->utils->conn, SASL_LOG_DEBUG,
H A Dcommon.c899 ((sasl_server_conn_t*)conn)->sparams->external_ssf =
945 ((sasl_server_conn_t *)conn)->sparams->user_realm = str;
967 ((sasl_server_conn_t*)conn)->sparams->props = *props;
1004 ((sasl_server_conn_t *)conn)->sparams->ipremoteport
1006 ((sasl_server_conn_t *)conn)->sparams->ipremlen =
1015 ((sasl_server_conn_t *)conn)->sparams->ipremoteport
1017 ((sasl_server_conn_t *)conn)->sparams->ipremlen = 0;
1053 ((sasl_server_conn_t *)conn)->sparams->iplocalport
1055 ((sasl_server_conn_t *)conn)->sparams->iploclen
1064 ((sasl_server_conn_t *)conn)->sparams
[all...]
H A Dseterror.c168 utils = ((sasl_server_conn_t *)conn)->sparams->utils;
H A Dsaslint.h280 sasl_server_params_t *sparams; member in struct:sasl_server_conn
729 extern void _sasl_auxprop_lookup(sasl_server_params_t *sparams,
H A Dsaslutil.c261 utils = ((sasl_server_conn_t *)conn)->sparams->utils;
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c2531 sasl_server_params_t * sparams,
2539 text = sparams->utils->malloc(sizeof(server_context_t));
2554 sasl_server_params_t *sparams,
2572 sparams->utils->log(sparams->utils->conn, SASL_LOG_DEBUG,
2576 result = get_server_realm(sparams, &realm);
2608 sparams->utils->log(sparams->utils->conn, SASL_LOG_ERR,
2633 nonce = create_nonce(sparams->utils);
2637 sparams
2530 digestmd5_server_mech_new(void *glob_context, sasl_server_params_t * sparams, const char *challenge __attribute__((unused)), unsigned challen __attribute__((unused)), void **conn_context) argument
2553 digestmd5_server_mech_step1(server_context_t *stext, sasl_server_params_t *sparams, const char *clientin __attribute__((unused)), unsigned clientinlen __attribute__((unused)), const char **serverout, unsigned *serveroutlen, sasl_out_params_t * oparams __attribute__((unused))) argument
2836 digestmd5_server_mech_step2(server_context_t *stext, sasl_server_params_t *sparams, const char *clientin, unsigned clientinlen, const char **serverout, unsigned *serveroutlen, sasl_out_params_t * oparams) argument
3583 digestmd5_server_mech_step(void *conn_context, sasl_server_params_t *sparams, const char *clientin, unsigned clientinlen, const char **serverout, unsigned *serveroutlen, sasl_out_params_t *oparams) argument
[all...]
/illumos-gate/usr/src/lib/libsasl/include/
H A Dsaslplug.h593 * sparams -- server config params
605 sasl_server_params_t *sparams,
619 sasl_server_params_t *sparams,
638 * sparams -- service, middleware utilities, etc. props ignored
655 sasl_server_params_t *sparams,
664 * sparams -- service, middleware utilities, etc. props ignored
681 sasl_server_params_t *sparams,
693 sasl_server_params_t *sparams);
717 sasl_server_params_t *sparams,
777 * sparams
[all...]
/illumos-gate/usr/src/lib/sasl_plugins/login/
H A Dlogin.c84 sasl_server_params_t *sparams,
92 text = sparams->utils->malloc(sizeof(server_context_t));
94 MEMERROR( sparams->utils );
83 login_server_mech_new(void *glob_context __attribute__((unused)), sasl_server_params_t *sparams, const char *challenge __attribute__((unused)), unsigned challen __attribute__((unused)), void **conn_context) argument
/illumos-gate/usr/src/lib/sasl_plugins/plain/
H A Dplain.c81 sasl_server_params_t *sparams,
88 PARAMERROR( sparams->utils );
80 plain_server_mech_new(void *glob_context __attribute__((unused)), sasl_server_params_t *sparams, const char *challenge __attribute__((unused)), unsigned challen __attribute__((unused)), void **conn_context) argument

Completed in 76 milliseconds