id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 78,openvpn http-proxy auth issue with profiles,eduda,Antonio Quartulli,"In misc.c bool get_user_pass (struct user_pass *up, const char *auth_file, const char *prefix, const unsigned int flags) { struct gc_arena gc = gc_new (); if (!up->defined) { string_mod (up->username, CC_PRINT, CC_CRLF, 0); string_mod (up->password, CC_PRINT, CC_CRLF, 0); up->defined = true; this gets called each time for each , when it tried the http proxy, it calls this and asks for the username and password in the auth_file. Because up->defined was set in the first lookup, it doesn’t update the username and password in the next password file. So if one password file has: user1 and pass1, and the other password file has user2, pass2, then username and password is always user1 and pass1. It never reads the second password file, or any other then the first. conf: port 10000 dev tun cipher AES-128-CBC auth SHA1 proto tcp-client auth-user-pass tls-client ca /etc/openvpn/cert.pem pull verb 4 tun-mtu 1500 script-security 2 up /etc/openvpn/up.sh remote x.x.x.x http-proxy 192.168.10.249 3128 /etc/openvpn/http-passwd-1 basic http-proxy-retry remote x.x.x.x http-proxy 192.168.10.249 3128 /etc/openvpn/http-passwd-2 basic http-proxy-retry ",Bug / Defect,closed,major,release 2.4,Configuration,OpenVPN git master branch (Community Ed),"Not set (select this one, unless your'e a OpenVPN developer)",fixed,http-proxy option parser,