Home
last modified time | relevance | path

Searched refs:realm (Results 1 – 25 of 38) sorted by relevance

12

/hostap-3.7.0/hs20/server/
Dspp_server.c50 const char *realm, const char *session_id,
52 static char * db_get_osu_config_val(struct hs20_svc *ctx, const char *realm,
55 const char *realm, int use_dmacc);
59 const char *realm,
64 const char *user, const char *realm, in db_add_session() argument
83 sessionid, user ? user : "", realm ? realm : "", in db_add_session()
101 const char *realm, const char *sessionid, in db_update_session_password() argument
108 pw, sessionid, user, realm); in db_update_session_password()
122 const char *realm, in db_update_session_machine_managed() argument
129 pw_mm ? "1" : "0", sessionid, user, realm); in db_update_session_machine_managed()
[all …]
Dsql-example.txt1 INSERT INTO osu_config(realm,field,value) VALUES('example.com','fqdn','example.com');
2 INSERT INTO osu_config(realm,field,value) VALUES('example.com','friendly_name','Example Operator');
3 …NTO osu_config(realm,field,value) VALUES('example.com','spp_http_auth_url','https://subscription-s…
4 INSERT INTO osu_config(realm,field,value) VALUES('example.com','trust_root_cert_url','https://osu-s…
5 INSERT INTO osu_config(realm,field,value) VALUES('example.com','trust_root_cert_fingerprint','5b393…
6 INSERT INTO osu_config(realm,field,value) VALUES('example.com','aaa_trust_root_cert_url','https://o…
7 INSERT INTO osu_config(realm,field,value) VALUES('example.com','aaa_trust_root_cert_fingerprint','5…
8 INSERT INTO osu_config(realm,field,value) VALUES('example.com','free_account','free');
9 …T INTO osu_config(realm,field,value) VALUES('example.com','policy_url','https://subscription-serve…
10 INSERT INTO osu_config(realm,field,value) VALUES('example.com','remediation_url','https://subscript…
[all …]
Dsql.txt3 realm TEXT,
15 realm TEXT,
37 realm TEXT,
49 realm TEXT,
98 realm TEXT,
Dhs20_spp_server.c69 char *user, *realm, *post, *str; in process() local
82 realm = getenv("HS20REALM"); in process()
83 if (realm == NULL) { in process()
119 resp = hs20_spp_server_process(ctx, spp, user, realm, dmacc); in process()
/hostap-3.7.0/hs20/server/www/
Dspp.php16 $realm = $_GET["realm"]; variable
17 $realm = PREG_REPLACE("/[^0-9a-zA-Z\.\-]/i", '', $realm); variable
59 "WHERE identity='$user' AND realm='$realm'")->fetch();
62 "WHERE osu_user='$user' AND realm='$realm'")->fetch();
75 $A1 = md5($user . ':' . $realm . ':' . $pw);
110 "WHERE realm='$realm'")->fetch();
112 error_log("spp.php - SIM provisioning failed - realm $realm not found");
125 header('WWW-Authenticate: Digest realm="'.$realm.
126 '",qop="auth",nonce="'.uniqid().'",opaque="'.md5($realm).'"');
137 putenv("HS20REALM=$realm");
[all …]
Dest.php6 $realm = $params[1]; variable
41 "WHERE user='$user' AND realm='$realm'";
44 error_log("EST: Session not found for user=$user realm=$realm");
49 error_log("EST: Session fetch failed for user=$user realm=$realm");
56 error_log("EST: Unexpected operation $oper for user=$user realm=$realm");
61 error_log("EST: Empty password for user=$user realm=$realm");
65 $A1 = md5($user . ':' . $realm . ':' . $pw);
70 error_log("EST: Incorrect authentication response for user=$user realm=$realm");
78 "WHERE user='$user' AND realm='$realm'";
81 error_log("EST: Session not found for user=$user realm=$realm");
[all …]
Dadd-free.php24 $realm = $row['realm']; variable
26 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fe…
33 $row = $db->query("SELECT password FROM users WHERE identity='$user' AND realm='$realm'")->fetch();
39 if (!$db->exec("UPDATE sessions SET user='$user', password='$pw', realm='$realm', machine_managed='…
44 "VALUES ('$user', '$realm', '$id', " .
Dadd-mo.php32 $realm = $row['realm']; variable
34 $userrow = $db->query("SELECT identity FROM users WHERE identity='$user' AND realm='$realm'")->fetc…
45 if (!$db->exec("UPDATE sessions SET user='$user', password='$pw', realm='$realm', type='password' W…
50 "VALUES ('$user', '$realm', '$id', " .
Dsignup.php22 $realm = $row['realm']; variable
29 echo "<h3>Sign up for a subscription - $realm</h3>\n";
35 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fe…
Dredirect.php25 $realm = $row['realm']; variable
28 "VALUES ('$user', '$realm', '$id', " .
Dcert-enroll.php24 $realm = $row['realm']; variable
33 "VALUES ('', '$realm', '$id', " .
Dremediation-pw.php25 $realm = $row['realm']; variable
35 "VALUES ('$user', '$realm', '$id', " .
Dusers.php265 $realm = $row['realm']; variable
293 …owid,* FROM eventlog WHERE (user='$user' OR user='$osu_user') AND realm='$realm' ORDER BY timestam…
295 …$res = $db->query("SELECT rowid,* FROM eventlog WHERE user='$user' AND realm='$realm' ORDER BY tim…
/hostap-3.7.0/src/ap/
Dgas_serv.c408 struct hostapd_nai_realm_data *realm) in anqp_add_nai_realm_eap() argument
412 wpabuf_put_u8(buf, realm->eap_method_count); in anqp_add_nai_realm_eap()
414 for (i = 0; i < realm->eap_method_count; i++) { in anqp_add_nai_realm_eap()
415 struct hostapd_nai_realm_eap *eap = &realm->eap_method[i]; in anqp_add_nai_realm_eap()
429 struct hostapd_nai_realm_data *realm, in anqp_add_nai_realm_data() argument
434 wpa_printf(MSG_DEBUG, "realm=%s, len=%d", realm->realm[realm_idx], in anqp_add_nai_realm_data()
435 (int) os_strlen(realm->realm[realm_idx])); in anqp_add_nai_realm_data()
437 wpabuf_put_u8(buf, realm->encoding); in anqp_add_nai_realm_data()
438 wpabuf_put_u8(buf, os_strlen(realm->realm[realm_idx])); in anqp_add_nai_realm_data()
439 wpabuf_put_str(buf, realm->realm[realm_idx]); in anqp_add_nai_realm_data()
[all …]
Dap_config.c708 struct fils_realm *realm; in hostapd_config_free_fils_realms() local
710 while ((realm = dl_list_first(&conf->fils_realms, struct fils_realm, in hostapd_config_free_fils_realms()
712 dl_list_del(&realm->list); in hostapd_config_free_fils_realms()
713 os_free(realm); in hostapd_config_free_fils_realms()
/hostap-3.7.0/wpa_supplicant/
Dinterworking.c179 if (cred->realm) in cred_with_nai_realm()
345 char *realm; member
359 os_free(realms[i].realm); in nai_realm_free()
494 r->realm = dup_binstr(pos, realm_len); in nai_realm_parse_realm()
495 if (r->realm == NULL) in nai_realm_parse_realm()
525 struct nai_realm *realm; in nai_realm_parse() local
550 realm = os_calloc(num, sizeof(struct nai_realm)); in nai_realm_parse()
551 if (realm == NULL) in nai_realm_parse()
555 pos = nai_realm_parse_realm(&realm[i], pos, end); in nai_realm_parse()
557 nai_realm_free(realm, num); in nai_realm_parse()
[all …]
DREADME-HS20124 # realm: Home Realm for Interworking
195 # alternative to the use of the realm parameter. When using Roaming
298 # realm="example.com"
312 # realm="example.com"
346 > set_cred 0 realm "mail.example.com"
/hostap-3.7.0/wpadebug/src/w1/fi/wpadebug/
DWpaCredActivity.java33 String realm; field in Credential
43 realm = fields[1]; in Credential()
45 realm = ""; in Credential()
65 realm = _realm; in Credential()
74 String res = id + " - " + username + "@" + realm; in toString()
135 String realm = data.getStringExtra("realm"); in onActivityResult() local
172 !set_cred_quoted(id, "realm", realm) || in onActivityResult()
183 mListAdapter.add(new Credential(id, username, realm, domain, imsi)); in onActivityResult()
/hostap-3.7.0/src/eap_peer/
Deap.c445 char *realm; in eap_get_realm() local
458 realm = os_malloc(realm_len + 1); in eap_get_realm()
459 if (realm == NULL) in eap_get_realm()
461 os_memcpy(realm, &config->identity[i + 1], realm_len); in eap_get_realm()
462 realm[realm_len] = '\0'; in eap_get_realm()
463 return realm; in eap_get_realm()
474 realm = os_malloc(realm_len + 1); in eap_get_realm()
475 if (realm == NULL) in eap_get_realm()
477 os_memcpy(realm, &config->anonymous_identity[i + 1], in eap_get_realm()
479 realm[realm_len] = '\0'; in eap_get_realm()
[all …]
Deap_sim.c408 const u8 *realm = NULL; in eap_sim_learn_ids() local
419 for (realm = identity, realm_len = identity_len; in eap_sim_learn_ids()
420 realm_len > 0; realm_len--, realm++) { in eap_sim_learn_ids()
421 if (*realm == '@') in eap_sim_learn_ids()
437 realm, realm_len); in eap_sim_learn_ids()
Deap_aka.c386 const u8 *realm = NULL; in eap_aka_learn_ids() local
397 for (realm = identity, realm_len = identity_len; in eap_aka_learn_ids()
398 realm_len > 0; realm_len--, realm++) { in eap_aka_learn_ids()
399 if (*realm == '@') in eap_aka_learn_ids()
415 realm, realm_len); in eap_aka_learn_ids()
Deap.h375 const u8 **realm, size_t *realm_len, u16 *erp_seq_num,
/hostap-3.7.0/hostapd/
Dconfig_file.c1461 struct hostapd_nai_realm_data *realm; in parse_nai_realm() local
1472 realm = &bss->nai_realm_data[i]; in parse_nai_realm()
1475 realm->realm[j] ? in parse_nai_realm()
1476 realm->realm[j] - realm->realm_buf : -1; in parse_nai_realm()
1480 realm = os_realloc_array(bss->nai_realm_data, bss->nai_realm_count + 1, in parse_nai_realm()
1482 if (realm == NULL) { in parse_nai_realm()
1486 bss->nai_realm_data = realm; in parse_nai_realm()
1490 realm = &bss->nai_realm_data[i]; in parse_nai_realm()
1494 realm->realm[j] = realm->realm_buf + offs; in parse_nai_realm()
1496 realm->realm[j] = NULL; in parse_nai_realm()
[all …]
/hostap-3.7.0/src/eapol_supp/
Deapol_supp_sm.h360 const u8 **realm, size_t *realm_len,
490 const u8 **realm, size_t *realm_len, in eapol_sm_get_erp_info() argument
/hostap-3.7.0/tests/hwsim/
Dtest_fils.py596 for realm in fils_realms:
597 hash = hashlib.sha256(realm.lower().encode()).digest()
609 for realm in fils_realms:
610 hash = hashlib.sha256(realm.lower().encode()).digest()
1350 realm = 'wlan.mnc001.mcc232.3gppnetwork.org'
1351 start_erp_as(erp_domain=realm,
1358 params['fils_realm'] = realm
1365 eap="SIM", identity="1232010000000000@" + realm,

12