Lines Matching refs:site
41 #define MOD_AUTH_FORM_HASH "site"
56 const char *site;
115 new->site = (add->site_set == 0) ? base->site : add->site;
321 static const char *set_site_passphrase(cmd_parms * cmd, void *config, const char *site)
324 conf->site = site;
522 const char *user, const char *pw, const char *site)
528 if (site) {
530 (unsigned char *) apr_pstrcat(r->pool, user, ":", site, NULL));
723 * Given a username and site passphrase hash from the session, determine
724 * whether the site passphrase is valid for this session.
726 * If the site passphrase is NULL, or if the sent_hash is NULL, this
729 * If the site passphrase hash does not match the sent hash, this function
734 static int check_site(request_rec * r, const char *site, const char *sent_user, const char *sent_hash)
737 if (site && sent_user && sent_hash) {
739 (unsigned char *) apr_pstrcat(r->pool, sent_user, ":", site, NULL));
933 /* first test whether the site passphrase matches */
935 rv = check_site(r, conf->site, sent_user, sent_hash);
1034 set_session_auth(r, sent_user, sent_pw, conf->site);
1141 set_session_auth(r, sent_user, sent_pw, conf->site);