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

0000310: creating an openvpn user without password removes all users - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000310Endian FirewallNetwork related (VPN, uplinks)public2007-11-12 17:272007-12-31 19:11
normalminorhave not tried
0000310: creating an openvpn user without password removes all users
LOL, nice bug

If you create 3 openvpn users without password all users will be removed.
Is this reproducable?
No tags attached.
Issue History
2007-11-12 17:27peter-endianNew Issue
2007-11-12 17:27peter-endianStatusnew => assigned
2007-11-12 17:27peter-endianAssigned To => peter-endian
2007-11-12 20:52peter-endianStatusassigned => confirmed
2007-11-12 20:53peter-endianNote Added: 0000640
2007-11-12 21:12peter-endianNote Added: 0000641
2007-11-13 19:06peter-endianStatusconfirmed => resolved
2007-11-13 19:06peter-endianResolutionopen => fixed
2007-12-31 15:05raphael-endianFixed in Version => 2.2-beta2
2007-12-31 19:11raphael-endianStatusresolved => closed

2007-11-12 20:53   
it does remove some random users
2007-11-12 21:12   
Traceback (most recent call last):
  File "/usr/bin/openvpn-user", line 280, in ?
  File "/usr/bin/openvpn-user", line 57, in __init__
  File "/usr/bin/openvpn-user", line 145, in do_action
  File "/usr/bin/openvpn-user", line 224, in doset
    openvpn.setUserPassword(self.username, self.password)
  File "/usr/lib/python2.4/site-packages/", line 165, in setUserPasswo
  File "/usr/lib/python2.4/site-packages/", line 136, in setPasswdEntr
    pwdfile.write("%s:%s:%s:%s:%s:%s:%s:%s:%s:%s\n" % (user, data['password'],
KeyError: 'password'