Lines Matching refs:radius_auth_state
99 struct rad_handle *radius_auth_state = NULL; variable
457 (radius_auth_state == NULL)) { in xauth_radius_init()
458 if ((radius_auth_state = rad_auth_open()) == NULL) { in xauth_radius_init()
464 if (rad_config(radius_auth_state, NULL) != 0) { in xauth_radius_init()
467 rad_strerror(radius_auth_state)); in xauth_radius_init()
468 rad_close(radius_auth_state); in xauth_radius_init()
469 radius_auth_state = NULL; in xauth_radius_init()
506 if (rad_create_request(radius_auth_state, RAD_ACCESS_REQUEST) != 0) {
509 rad_strerror(radius_auth_state));
513 if (rad_put_string(radius_auth_state, RAD_USER_NAME, usr) != 0) {
516 rad_strerror(radius_auth_state));
520 if (rad_put_string(radius_auth_state, RAD_USER_PASSWORD, pwd) != 0) {
523 rad_strerror(radius_auth_state));
527 if (isakmp_cfg_radius_common(radius_auth_state, iph1->mode_cfg->port) != 0)
530 switch (res = rad_send_request(radius_auth_state)) {
532 while ((type = rad_get_attr(radius_auth_state, &data, &len)) != 0) {
563 rad_strerror(radius_auth_state));