Home
last modified time | relevance | path

Searched refs:AUTH_TYPE_USERNAME_PASS (Results 1 – 6 of 6) sorted by relevance

/dports/net/ocserv/ocserv-1.1.3/src/
H A Dvpn.h132 #define AUTH_TYPE_USERNAME_PASS (1<<0) macro
133 #define AUTH_TYPE_PAM (1<<1 | AUTH_TYPE_USERNAME_PASS)
134 #define AUTH_TYPE_PLAIN (1<<2 | AUTH_TYPE_USERNAME_PASS)
136 #define AUTH_TYPE_RADIUS (1<<5 | AUTH_TYPE_USERNAME_PASS)
140 …TH_TYPE_CERTIFICATE|AUTH_TYPE_RADIUS|AUTH_TYPE_GSSAPI|AUTH_TYPE_OIDC) & (~AUTH_TYPE_USERNAME_PASS))
141 #define VIRTUAL_AUTH_TYPES (AUTH_TYPE_USERNAME_PASS)
H A Dconfig.c201 if (type & AUTH_TYPE_USERNAME_PASS) { in check_for_duplicate_password_auth()
205 if (config->auth[i].type & AUTH_TYPE_USERNAME_PASS) { in check_for_duplicate_password_auth()
1285 case AUTH_TYPE_PAM|AUTH_TYPE_USERNAME_PASS: in parse_cfg_file()
1293 case AUTH_TYPE_PLAIN|AUTH_TYPE_USERNAME_PASS: in parse_cfg_file()
1914 .type = AUTH_TYPE_PAM | AUTH_TYPE_USERNAME_PASS,
1938 .type = AUTH_TYPE_PLAIN | AUTH_TYPE_USERNAME_PASS,
1952 .type = AUTH_TYPE_RADIUS | AUTH_TYPE_USERNAME_PASS,
H A Dworker-auth.c328 if (ws->selected_auth->type & AUTH_TYPE_USERNAME_PASS) { in get_auth_handler2()
1542 if (ws->selected_auth->type & AUTH_TYPE_USERNAME_PASS) { in post_auth_handler()
1556 ireq.auth_type |= AUTH_TYPE_USERNAME_PASS; in post_auth_handler()
1643 if (areq.password == NULL && (ws->selected_auth->type & AUTH_TYPE_USERNAME_PASS)) { in post_auth_handler()
/dports/net/ocserv/ocserv-1.1.3/src/auth/
H A Dpam.c353 .type = AUTH_TYPE_PAM | AUTH_TYPE_USERNAME_PASS,
H A Dplain.c490 .type = AUTH_TYPE_PLAIN | AUTH_TYPE_USERNAME_PASS,
H A Dradius.c524 .type = AUTH_TYPE_RADIUS | AUTH_TYPE_USERNAME_PASS,