What's the trick? I just tried it with the newly-posted 2.4 RC1, which I see in the release notes has "Support for username-only auth file," but when I removed the PW from my file and tried making a connection, I got the usual immediate "Connection has failed" (same as what I get with 2.3). The log reads "Failed retrieving username or password."
Somewhere a while back I read that the end of the auth file needs to have a blank line, but that didn't work either.
Save username only and prompt for password
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN User
- Posts: 33
- Joined: Sat Feb 09, 2013 9:10 pm
-
- OpenVPN User
- Posts: 33
- Joined: Sat Feb 09, 2013 9:10 pm
Re: Save username only and prompt for password
RC2 is out now. No change.
@TiTex, still waiting on you to clear up specifically how it's done.
@TiTex, still waiting on you to clear up specifically how it's done.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Save username only and prompt for password
It works as expected ..rseiler wrote:RC2 is out now. No change
--auth-user-pass useronly.txt
useronly.txt
username
-
- OpenVPN User
- Posts: 33
- Joined: Sat Feb 09, 2013 9:10 pm
Re: Save username only and prompt for password
There's some other variable, because that's how I've been trying it. It quickly comes back with the error I mentioned a couple message ago.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Save username only and prompt for password
There is some other variable because it works fine if done correctly.rseiler wrote:There's some other variable, because that's how I've been trying it
rseiler wrote:It quickly comes back with the error I mentioned a couple message ago.
Sure ..rseiler wrote:I got the usual immediate "Connection has failed" (same as what I get with 2.3). The log reads "Failed retrieving username or password."
Please read this:
HOWTO: Request Help !
Then start a detailed thread in the appropriate place, thanks.