Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 11 of 11) sorted by relevance

/lighttpd1.4/src/
H A Dmod_authn_file.c190 ,{ pw, pwlen } in mod_authn_file_digest()
325 mod_authn_file_digest(&ai, pw, strlen(pw)); in mod_authn_file_htdigest_basic()
422 rc = ck_memeq_const_time(BUF_PTR_LEN(tb), pw, strlen(pw)) ? 0 : -1; in mod_authn_file_plain_basic()
474 const size_t pwlen = strlen(pw); in apr_md5_encode()
509 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
511 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
522 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
568 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
578 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
585 MD5_Update(&ctx, pw, pwlen); in apr_md5_encode()
[all …]
H A Dmod_authn_pam.c40 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
129 const char * const pw = (char *)appdata_ptr; in mod_authn_pam_fn_conv() local
136 ? strdup(pw) in mod_authn_pam_fn_conv()
142 …nst r, void *p_d, const buffer * const username, const char * const realm, const char * const pw) { in mod_authn_pam_query() argument
149 *(const char **)&conv.appdata_ptr = pw; /*(cast away const)*/ in mod_authn_pam_query()
165 … const http_auth_require_t * const require, const buffer * const username, const char * const pw) { in mod_authn_pam_basic() argument
167 handler_t rc = mod_authn_pam_query(r, p_d, username, realm, pw); in mod_authn_pam_basic()
H A Dmod_authn_sasl.c46 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
257 …nst r, void *p_d, const buffer * const username, const char * const realm, const char * const pw) { in mod_authn_sasl_query() argument
279 rc = sasl_checkpass(sc, BUF_PTR_LEN(username), pw, strlen(pw)); in mod_authn_sasl_query()
286 … const http_auth_require_t * const require, const buffer * const username, const char * const pw) { in mod_authn_sasl_basic() argument
288 handler_t rc = mod_authn_sasl_query(r, p_d, username, realm, pw); in mod_authn_sasl_basic()
H A Dmod_authn_dbi.c202 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
496 …thn_dbi_query (request_st * const r, void *p_d, http_auth_info_t * const ai, const char * const pw) in mod_authn_dbi_query() argument
531 if (pw) { /* used with HTTP Basic auth */ in mod_authn_dbi_query()
532 if (0 == mod_authn_dbi_password_cmp(rpw, len, ai, pw)) in mod_authn_dbi_query()
563 …d, const http_auth_require_t * const require, const buffer * const username, const char * const pw) in mod_authn_dbi_basic() argument
574 rc = mod_authn_dbi_query(r, p_d, &ai, pw); in mod_authn_dbi_basic()
H A Dmod_authn_ldap.c54 … * const r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
549 static int mod_authn_ldap_bind(log_error_st *errh, LDAP *ld, const char *dn, const char *pw) { in mod_authn_ldap_bind() argument
553 if (NULL != pw) { in mod_authn_ldap_bind()
554 *((const char **)&creds.bv_val) = pw; /*(cast away const)*/ in mod_authn_ldap_bind()
555 creds.bv_len = strlen(pw); in mod_authn_ldap_bind()
712 … const http_auth_require_t * const require, const buffer * const username, const char * const pw) { in mod_authn_ldap_basic() argument
719 if (pw[0] == '\0' && !p->conf.auth_ldap_allow_empty_pw) in mod_authn_ldap_basic()
795 if (LDAP_SUCCESS != mod_authn_ldap_bind(errh, ld, dn, pw)) in mod_authn_ldap_basic()
H A Dmod_auth.c82 memcpy(ae->pwdigest, pw, pwlen); in http_auth_cache_entry_init()
787 char *pw; in mod_auth_check_basic() local
803 pw = memchr(user, ':', ulen); in mod_auth_check_basic()
804 if (NULL == pw) { in mod_auth_check_basic()
808 *pw++ = '\0'; in mod_auth_check_basic()
809 pwlen = (size_t)(user + ulen - pw); in mod_auth_check_basic()
810 ulen = (size_t)(pw - 1 - user); in mod_auth_check_basic()
824 rc = ck_memeq_const_time(ae->pwdigest, ae->dlen, pw, pwlen) in mod_auth_check_basic()
833 rc = backend->basic(r, backend->p_d, require, &userb, pw); in mod_auth_check_basic()
841 pw, pwlen); in mod_auth_check_basic()
[all …]
H A Dmod_vhostdb_ldap.c307 static int mod_authn_ldap_bind(log_error_st *errh, LDAP *ld, const char *dn, const char *pw) { in mod_authn_ldap_bind() argument
311 if (NULL != pw) { in mod_authn_ldap_bind()
312 *((const char **)&creds.bv_val) = pw; /*(cast away const)*/ in mod_authn_ldap_bind()
313 creds.bv_len = strlen(pw); in mod_authn_ldap_bind()
H A Dmod_auth_api.h75 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
H A Dmod_authn_gssapi.c52 …uest_st *r, void *p_d, const http_auth_require_t *require, const buffer *username, const char *pw);
624 …d, const http_auth_require_t * const require, const buffer * const username, const char * const pw) in mod_authn_gssapi_basic() argument
639 if (*pw == '\0') { in mod_authn_gssapi_basic()
716 ret = krb5_get_init_creds_password(kcontext, &c_creds, c_princ, pw, NULL, NULL, 0, NULL, NULL); in mod_authn_gssapi_basic()
H A Dmod_ssi.c769 struct passwd *pw; in process_ssi_stmt() local
770 if (NULL == (pw = getpwuid(st->st_uid))) { in process_ssi_stmt()
773 buffer_copy_string(tb, pw->pw_name); in process_ssi_stmt()
/lighttpd1.4/
H A DNEWS3376 …* fix auth.backend.ldap.bind-dn/pw problems (only read from global context for temporary ldap reco…