Page 1 of 1
[SOLVED] Verify password problem
Posted: Fri Sep 30, 2011 11:21 am
by supm0667
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
Re: Varify password problem
Posted: Fri Sep 30, 2011 12:50 pm
by janjust
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.
Re: Varify password problem
Posted: Sun Oct 02, 2011 3:51 pm
by supm0667
Hi,
Yes, I got it.
It's work very nice.
Thank you very so much.
Peter Lai
Re: Varify password problem
Posted: Mon Oct 03, 2011 3:02 am
by supm0667
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
Re: Varify password problem
Posted: Mon Oct 03, 2011 11:33 am
by supm0667
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
[SOLVED] Re: Verify password problem
Posted: Mon Oct 03, 2011 11:47 am
by janjust
Excellent!
Closing topic.