Bug #2066
closedError when deleting all-numerical user from a "user manager"
100%
Description
pfsense 2.0.1 happens to be crash when trying to delete a user from a "user manager"
try to add any username and delete it back right after you add it
no matter you disable the account 1st or you dont, it will keep crash
error code as below:-
Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3688 Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 646
Files
Updated by Chris Buechler almost 13 years ago
- Subject changed from pfsense crash when deleting user from a "user manager" to Error when deleting user from a "user manager"
- Status changed from New to Feedback
- Priority changed from High to Normal
- Target version deleted (
2.0.1) - Affected Version changed from All to 2.0
can't replicate, will leave for further feedback
Updated by dli muc almost 13 years ago
- File 2012-01-17_134757.jpg 2012-01-17_134757.jpg added
Create a functional OVPN with two users. (with OpenVPN Client Export Utility Pack)
Delete than the users.
If you delete the "last" user you are not able to login via Webinterface. (sse pic.)
It crash.
Updated by Jim Pingle almost 13 years ago
- Affected Version deleted (
2.0)
We need a full copy of your config.xml to work with. We cannot replicate this in any circumstances that we have tried, there must be something specific to your config that is leading to this problem.
Updated by dli muc almost 13 years ago
But where?! i clean it up during the upgrade from 1.2.3
Updated by faizal md dan almost 13 years ago
i've send my config files to jimp, hopefully he can check on it
even if you start from a scratch it will still be the same
once user added and deleted, the box will be totally crash
nothing can save the box unless start to reinstall it back again
thanks ;)
Updated by Jim Pingle almost 13 years ago
- Status changed from Feedback to New
Well the key here is that you're using a username that is all numbers, apparently. Not sure how well that was tested, it's certainly not something that is common to see. I had thought we rejected those even.
If you make a user with the username "004" and then delete it, somehow the /conf/ symlink is removed as well as some files in /etc/ (like resolv.conf at least)
Needs more investigation, but as a workaround, don't use numerical usernames.
Updated by Chris Buechler almost 13 years ago
- Subject changed from Error when deleting user from a "user manager" to Error when deleting all-numerical user from a "user manager"
- Target version set to 2.1
- Affected Version set to 2.0
Updated by Jim Pingle almost 13 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 9fd145911d89d7ca891d0e08a861474420361990.
Updated by Jim Pingle almost 13 years ago
Applied in changeset a82b1ab12d1f433c7f0e9bfc6e952cf511de8045.
Updated by Chris Buechler over 12 years ago
- Status changed from Feedback to Resolved
confirmed fixed