Re: [Openvpn-devel] Problem with client reconnect when using username-as-common-name and username is blank

2010-11-04 Thread Carlos Soto
Hi Jan, I added the two lines and recompiled. It did not seem to solve this problem. I think they are different problems as mine is that the client_disconnect script does not get called at all and yours just affect the environment variables when the script is called. I can do some more testing

Re: [Openvpn-devel] Problem with client reconnect when using username-as-common-name and username is blank

2010-11-04 Thread Jan Just Keijser
Hi Carlos, this looks like a repeat of something reported on March 1st : in multi.c the function multi_client_connect_setenv contains 1410 /* setenv incoming cert common name for script */ 1411 setenv_str (mi->context.c2.es, "common_name", tls_common_name (mi->context.c2.tls_multi,

[Openvpn-devel] Problem with client reconnect when using username-as-common-name and username is blank

2010-11-04 Thread Carlos Soto
I have been having a very strange behavior with openvpn and I have finally found the source. I do not know if it is a bug or not so I will explain it and let the experts decide. I am using OpenVPN 2.1.3 in several openwrt routers connected with ADSL with dynamic IPs. Every once in a client