[SOLVED] Verify password problem

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Locked
supm0667
OpenVpn Newbie
Posts: 10
Joined: Fri Sep 30, 2011 11:01 am

[SOLVED] Verify password problem

Post by supm0667 » Fri Sep 30, 2011 11:21 am

Hi,

I used the last released version openvpn server 2.2.1 in linux,
and used the last released openvpn client in Win 7.
And I use the "auth-user-pass-verify" option to check account / password.
If the account/password is the specific character (ex: "3$3"/"3$3")
then I got the account/password in OPENVPN server is "3_3"/"3_3".
Could you help me !
How can I fixed it.

Thanks !

Peter Lai

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Varify password problem

Post by janjust » Fri Sep 30, 2011 12:50 pm

if you use

Code: Select all

auth-user-pass-verify <script> via-file
then this should not occur; if you are using 'via-env' then it is normal (and mandatory!) that characters such as '$' get mapped, as otherwise there's a security risk on the server side with dangerous environment variables.

supm0667
OpenVpn Newbie
Posts: 10
Joined: Fri Sep 30, 2011 11:01 am

Re: Varify password problem

Post by supm0667 » Sun Oct 02, 2011 3:51 pm

Hi,

Yes, I got it.
It's work very nice.
Thank you very so much.

Peter Lai

supm0667
OpenVpn Newbie
Posts: 10
Joined: Fri Sep 30, 2011 11:01 am

Re: Varify password problem

Post by supm0667 » Mon Oct 03, 2011 3:02 am

Hi,

Thanks a lot, first.

I am so sorry!
I try these case "3$3/3$3" (account/password) or "3@^/3@^" (use via-file method)
I got the password is right,
but the name(user name) is also incorrect.
(ex: I type "3$3/3$3" ==> then I got "3_3/3$3", or "3@^/3@^" ==> then I got "3@_/3@^")
Could you help me again !

Thanks.

Peter Lai

supm0667
OpenVpn Newbie
Posts: 10
Joined: Fri Sep 30, 2011 11:01 am

Re: Varify password problem

Post by supm0667 » Mon Oct 03, 2011 11:33 am

Hi,

I had found the via-file method for account/password specific characters option
--- "no-name-remapping"
It had resolved these problems.

Thanks a lot.

Peter Lai

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

[SOLVED] Re: Verify password problem

Post by janjust » Mon Oct 03, 2011 11:47 am

Excellent!
Closing topic.

Locked