SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004349: active directory authentication with openvpn doesn't work - MantisBT
MantisBT - Endian Firewall
View Issue Details
0004349Endian FirewallNetwork related (VPN, uplinks)public2012-05-07 08:512012-08-10 12:32
luke-endian 
andrea-endian 
normalminoralways
resolvedfixed 
2.5 
 
0004349: active directory authentication with openvpn doesn't work
When try to configure active directory authentication with openvpn doesn't work.
I use the same configuration on 2.4 device and it works.I noticed that on /var/efw/openvpn/settings file in 2.5 when restart openvpn the line AUTH_TYPE=psk is missing.
purple
child of 0004291feedback lorenzo-endian Endian Firewall openvpn ldap authentication success with BLANK password and existing username 
Issue History
2012-05-07 08:51luke-endianNew Issue
2012-05-07 08:52luke-endianTag Attached: purple
2012-06-07 15:33daniele-endianRelationship addedduplicate of 0004377
2012-06-07 16:01ardit-endianNote Added: 0007905
2012-07-09 08:22daniele-endianRelationship addedparent of 0004291
2012-07-09 08:23daniele-endianRelationship deletedparent of 0004291
2012-07-09 09:21daniele-endianRelationship addedchild of 0004291
2012-08-10 12:23andrea-endianAssigned To => andrea-endian
2012-08-10 12:32andrea-endianNote Added: 0008006
2012-08-10 12:32andrea-endianStatusnew => resolved
2012-08-10 12:32andrea-endianResolutionopen => fixed

Notes
(0007905)
ardit-endian   
2012-06-07 16:01   
I also have seen this and it's impossible to authenticate via GUI.
(0008006)
andrea-endian   
2012-08-10 12:32   
Fixed with efw-vpn 2.9.4 and openvpn-auth 2.9.2.

After the upgrade, you can check the active directory authentication with the
following command:
openvpn-auth -i

The command asks for an username and password and checks if they are valid, e.g.:
openvpn-auth -i
Username: andreax
Password:
2012-08-10 14:31:56,416 - openvpn-auth[5046] - INFO - User 'andreax' authenticated by module 'ldap'.

Note that it's correct that the line AUTH_TYPE=psk is not present in /var/efw/openvpn/settings because psk is the default value for AUTH_TYPE.