Thank you for the reply,
I have script-security 3 in my configs. All have been working just fine, and
still working - except when using special characters in the password. 
An example: password1 is "pass", and its accepted and everything is working
fine. Password2 is "passwördé", but the auth script will only see "passwrd"
from this, skipping the special character. 
So, it simply skips the "not printable" characters. 

Andras

-----Original Message-----
From: Alberto Gonzalez Iniesta [mailto:a...@inittab.org] 
Sent: Tuesday, October 06, 2009 11:41 AM
To: openvpn-devel@lists.sourceforge.net
Subject: Re: [Openvpn-devel] openvpn + utf8 ?

On Mon, Oct 05, 2009 at 09:37:49PM +0200, Kosztyu András wrote:
> Hi,
> 
> Does openvpn support utf8 encoding (unicode?) for usernames and passwords?
> 
> I could not find anything about it, only a very old mail
> (http://openvpn.net/archive/openvpn-devel/2006-04/msg00044.html)
> 
>  
> 
> I've been using 2.1 rc18 as server for months now without any trouble, but
> now i got a report that special character passwords are not working. 
> 
> The authentication is done by a simple bash script. Added a line to this
> script to check if it gets the passwords with wrong charset or gets it at
> all (echo $username:$password:TEST >> /var/log/openvpn/test) but it shows
> nothing for the password. 

Hi,

You need --script-security 3 in order to get passwords passed to
scripts.

Regards,

Alberto

-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel


Reply via email to