Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/sasl_plugins/cram/
H A Dcram.c114 sasl_server_params_t *sparams, in crammd5_server_mech_new() argument
122 text = sparams->utils->malloc(sizeof(server_context_t)); in crammd5_server_mech_new()
124 MEMERROR( sparams->utils ); in crammd5_server_mech_new()
141 static char *gettime(sasl_server_params_t *sparams) in gettime() argument
147 ret= sparams->utils->malloc(15); in gettime()
157 static char *randomdigits(sasl_server_params_t *sparams) in randomdigits() argument
173 sparams->utils->rand(sparams->utils->rpool, in randomdigits()
177 sparams->utils->rand(sparams->utils->rpool,(char *) temp,4); in randomdigits()
184 … ret = sparams->utils->malloc(15); /* there's no way an unsigned can be longer than this right? */ in randomdigits()
193 sasl_server_params_t *sparams, in crammd5_server_mech_step1() argument
[all …]
/titanic_50/usr/src/lib/libsasl/lib/
H A Dexternal.c74 sasl_server_params_t *sparams, in external_server_mech_new() argument
80 || !sparams in external_server_mech_new()
81 || !sparams->utils in external_server_mech_new()
82 || !sparams->utils->conn) in external_server_mech_new()
85 if (!sparams->utils->conn->external.auth_id) in external_server_mech_new()
95 sasl_server_params_t *sparams, in external_server_mech_step() argument
104 if (!sparams in external_server_mech_step()
105 || !sparams->utils in external_server_mech_step()
106 || !sparams->utils->conn in external_server_mech_step()
107 || !sparams->utils->getcallback in external_server_mech_step()
[all …]
H A Dserver.c184 s_conn->sparams->propctx, flags); in sasl_setpass()
208 ((sasl_server_conn_t *)conn)->sparams, in sasl_setpass()
253 cur->mech->plug->mech_dispose(cur->context, s_conn->sparams->utils); in server_dispose_mech_contexts()
273 s_conn->sparams->utils); in server_dispose()
283 cur->mech->plug->mech_dispose(cur->context, s_conn->sparams->utils); in server_dispose()
289 _sasl_free_utils(&s_conn->sparams->utils); in server_dispose()
291 if (s_conn->sparams->propctx) in server_dispose()
292 prop_dispose(&s_conn->sparams->propctx); in server_dispose()
297 if (s_conn->sparams) in server_dispose()
298 sasl_FREE(s_conn->sparams); in server_dispose()
[all …]
H A Dcheckpw.c174 prop_clear(sconn->sparams->propctx, 0); in auxprop_verify_password()
177 result = prop_request(sconn->sparams->propctx, password_request); in auxprop_verify_password()
186 result = prop_getnames(sconn->sparams->propctx, password_request, in auxprop_verify_password()
219 ret = _sasl_make_plain_secret(sconn->sparams->utils, db_secret, in auxprop_verify_password()
240 sconn->sparams->utils->free(construct); in auxprop_verify_password()
251 if (userid) sconn->sparams->utils->free(userid); in auxprop_verify_password()
287 ret = prop_getnames(sconn->sparams->propctx, password_request, in _sasl_auxprop_verify_apop()
337 if (userid) sconn->sparams->utils->free(userid); in _sasl_auxprop_verify_apop()
H A Dauxprop.c808 prop_clear(sconn->sparams->propctx,1); in sasl_auxprop_request()
812 result = prop_request(sconn->sparams->propctx, propnames); in sasl_auxprop_request()
834 return sconn->sparams->propctx; in sasl_auxprop_getctx()
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 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, argument
461 return _canonuser_internal(sparams->utils,
H A Dcommon.c899 ((sasl_server_conn_t*)conn)->sparams->external_ssf = in sasl_setprop()
945 ((sasl_server_conn_t *)conn)->sparams->user_realm = str; in sasl_setprop()
967 ((sasl_server_conn_t*)conn)->sparams->props = *props; in sasl_setprop()
1004 ((sasl_server_conn_t *)conn)->sparams->ipremoteport in sasl_setprop()
1006 ((sasl_server_conn_t *)conn)->sparams->ipremlen = in sasl_setprop()
1015 ((sasl_server_conn_t *)conn)->sparams->ipremoteport in sasl_setprop()
1017 ((sasl_server_conn_t *)conn)->sparams->ipremlen = 0; in sasl_setprop()
1053 ((sasl_server_conn_t *)conn)->sparams->iplocalport in sasl_setprop()
1055 ((sasl_server_conn_t *)conn)->sparams->iploclen in sasl_setprop()
1064 ((sasl_server_conn_t *)conn)->sparams->iplocalport in sasl_setprop()
[all …]
H A Dseterror.c168 utils = ((sasl_server_conn_t *)conn)->sparams->utils; in sasl_seterror()
H A Dsaslint.h280 sasl_server_params_t *sparams; member
729 extern void _sasl_auxprop_lookup(sasl_server_params_t *sparams,
H A Dsaslutil.c261 utils = ((sasl_server_conn_t *)conn)->sparams->utils; in sasl_mkchal()
/titanic_50/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c2531 sasl_server_params_t * sparams, argument
2539 text = sparams->utils->malloc(sizeof(server_context_t));
2554 sasl_server_params_t *sparams, argument
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->utils->log(sparams->utils->conn, SASL_LOG_ERR,
2640 SETERROR(sparams->utils, "internal erorr: failed creating a nonce");
2650 result = _plug_buf_alloc(sparams->utils, &(text->out_buf),
[all …]
/titanic_50/usr/src/lib/libsasl/include/
H A Dsaslplug.h605 sasl_server_params_t *sparams,
619 sasl_server_params_t *sparams,
655 sasl_server_params_t *sparams,
681 sasl_server_params_t *sparams,
693 sasl_server_params_t *sparams);
717 sasl_server_params_t *sparams,
792 sasl_server_params_t *sparams,
851 sasl_server_params_t *sparams,
/titanic_50/usr/src/lib/sasl_plugins/login/
H A Dlogin.c84 sasl_server_params_t *sparams, in login_server_mech_new() argument
92 text = sparams->utils->malloc(sizeof(server_context_t)); in login_server_mech_new()
94 MEMERROR( sparams->utils ); in login_server_mech_new()
/titanic_50/usr/src/lib/sasl_plugins/plain/
H A Dplain.c81 sasl_server_params_t *sparams, in plain_server_mech_new() argument
88 PARAMERROR( sparams->utils ); in plain_server_mech_new()