OpenVPN utf8 for password authentication

How to customize and extend your OpenVPN installation.

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

Post Reply
dreamteam
OpenVpn Newbie
Posts: 3
Joined: Tue Jun 07, 2011 1:49 pm

OpenVPN utf8 for password authentication

Post by dreamteam » Tue Jun 07, 2011 1:59 pm

Hi @ all,


I have some drouble with passwords who contain special caracters like "ä,ö, or ü". If one of that caracters contains a password, this caracter wouldn't be passed to the auth-script.....

Is it possible, that I can change the charset for OpenVPN to UTF8. My Hostsystem is Debian Squeeze.


Thanks for any Help.


Regards.

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

Re: OpenVPN utf8 for password authentication

Post by janjust » Tue Jun 07, 2011 3:07 pm

what _IS_ passed to the auth script? as far as I know the password is simply dumped into an env var (or text file, which is preferable) , which the auth-user-pass-verify script can read and process.

There's no easy way of changing openvpn to use UTF-8 (or any other char sets) other than modifying the openvpn sources.

dreamteam
OpenVpn Newbie
Posts: 3
Joined: Tue Jun 07, 2011 1:49 pm

Re: OpenVPN utf8 for password authentication

Post by dreamteam » Wed Jun 08, 2011 4:54 am

<<what _IS_ passed to the auth script?>>

Everything of the password except the caracters "ä,ö,ü".

<<There's no easy way of changing openvpn to use UTF-8 (or any other char sets) other than modifying the openvpn sources.>>

Where do I need to make the changes?


Anybody knows?

dreamteam
OpenVpn Newbie
Posts: 3
Joined: Tue Jun 07, 2011 1:49 pm

Re: OpenVPN utf8 for password authentication

Post by dreamteam » Tue Jun 21, 2011 2:38 pm

Has nobody a idea?

Post Reply