Project

General

Profile

Actions

Bug #2066

closed

Error when deleting all-numerical user from a "user manager"

Added by faizal md dan over 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
User Manager / Privileges
Target version:
Start date:
12/27/2011
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

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

2012-01-17_134757.jpg (106 KB) 2012-01-17_134757.jpg dli muc, 01/17/2012 07:45 AM
Actions #1

Updated by Chris Buechler over 12 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

Actions #2

Updated by dli muc about 12 years ago

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.

Actions #3

Updated by Jim Pingle about 12 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.

Actions #4

Updated by dli muc about 12 years ago

Is there a email Address to send?

Actions #5

Updated by Jim Pingle about 12 years ago

jimp (at) pfsense [dot] org.

Actions #6

Updated by Ermal Luçi about 12 years ago

Probably special characters?!

Actions #7

Updated by dli muc about 12 years ago

But where?! i clean it up during the upgrade from 1.2.3

Actions #8

Updated by faizal md dan about 12 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 ;)

Actions #9

Updated by Jim Pingle about 12 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.

Actions #10

Updated by Chris Buechler about 12 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
Actions #11

Updated by Jim Pingle about 12 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #13

Updated by Chris Buechler about 12 years ago

  • Status changed from Feedback to Resolved

confirmed fixed

Actions

Also available in: Atom PDF