• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/

Lines Matching refs:password

1033  * Get and store a username/password
1054 * Get username/password from management interface?
1074 msg (M_FATAL, "ERROR: could not read %s username/password/ok/string from management interface", prefix);
1088 if (!get_console_input (BSTR (&user_prompt), true, up->password, USER_PASS_LEN))
1091 if (!strlen (up->password))
1092 strcpy (up->password, "ok");
1096 * Get username/password from standard input?
1109 buf_set_write (&packed_resp, (uint8_t*)up->password, USER_PASS_LEN);
1138 if (!get_console_input (BSTR (&pass_prompt), false, up->password, USER_PASS_LEN))
1139 msg (M_FATAL, "ERROR: could not not read %s password from stdin", prefix);
1151 if (openvpn_base64_encode(up->password, strlen(up->password), &pw64) == -1
1153 msg (M_FATAL, "ERROR: could not base64-encode password/static_response");
1154 buf_set_write (&packed_resp, (uint8_t*)up->password, USER_PASS_LEN);
1167 * Get username/password from a file.
1177 msg (M_FATAL, "Sorry, '%s' password cannot be read from a file", prefix);
1188 if (fgets (up->password, USER_PASS_LEN, fp) == NULL)
1189 msg (M_FATAL, "Error reading password from %s authfile: %s",
1196 || fgets (up->password, USER_PASS_LEN, fp) == NULL)
1197 msg (M_FATAL, "Error reading username and password (must be on two consecutive lines) from %s authfile: %s",
1205 chomp (up->password);
1212 string_mod (up->password, CC_PRINT, CC_CRLF, 0);
1218 msg (M_INFO, "GET_USER_PASS %s u='%s' p='%s'", prefix, up->username, up->password);
1350 CLEAR (up->password);
1351 strncpynt (up->password, token, USER_PASS_LEN);
1370 return (strncmp (str, "password", 8) == 0);