Automatically fill in username and password

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
mikesteffler
OpenVpn Newbie
Posts: 3
Joined: Mon Sep 13, 2010 11:07 pm

Automatically fill in username and password

Post by mikesteffler » Mon Sep 13, 2010 11:08 pm

I really don't know if this is the right place for this question... but is there a way that I can have OpenVPN automatically fill in my username and password when I try to connect?

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Automatically fill in username and password

Post by krzee » Mon Sep 13, 2010 11:27 pm

[16:28] <krzee> !pwfile
[16:28] <vpnHelper> krzee: "pwfile" is (#1) OpenVPN will only read passwords from a file if it has been built with the --enable-password-save configure option, or on Windows by defining ENABLE_PASSWORD_SAVE in config-win32.h, or (#2) see --auth-user-pass in the manual (!man) for more info

mikesteffler
OpenVpn Newbie
Posts: 3
Joined: Mon Sep 13, 2010 11:07 pm

Re: Automatically fill in username and password

Post by mikesteffler » Tue Sep 14, 2010 12:24 am

Any chance you could dumb it down for me? I have no idea about scripts or the config file or any of that stuff.

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Automatically fill in username and password

Post by krzee » Tue Sep 14, 2010 11:44 pm

you can only save passwords to a file if you have custom compiled openvpn with the --enable-password-save configure option
What OS are you running?

mikesteffler
OpenVpn Newbie
Posts: 3
Joined: Mon Sep 13, 2010 11:07 pm

Re: Automatically fill in username and password

Post by mikesteffler » Tue Sep 14, 2010 11:51 pm

I'm on Windows 7 and I installed OpenVPN from an .exe file that my work provides.

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: Automatically fill in username and password

Post by ecrist » Tue Sep 28, 2010 7:12 pm

We are likely going to start offering Windows Binaries with the feature enabled. Check the notes for the current beta releases, I'm not sure if any of them support this now or not.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: Automatically fill in username and password

Post by Douglas » Fri Oct 15, 2010 7:35 am

ecrist wrote:We are likely going to start offering Windows Binaries with the feature enabled. Check the notes for the current beta releases, I'm not sure if any of them support this now or not.
I think this is a good idea. :)

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Automatically fill in username and password

Post by krzee » Fri Oct 15, 2010 12:16 pm

mikesteffler wrote:I'm on Windows 7 and I installed OpenVPN from an .exe file that my work provides.
if your work did not enable this feature, they probably dont want you saving your login/password to a file... it does turn "something you know" into "something you have" which certs already are

Post Reply