can't add user - "Error: Username change not permitted&

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

m1z4rk
Posts: 13
Joined: Mon Aug 29, 2005 7:09 pm
Location: Cayman Islands

can't add user - "Error: Username change not permitted&

Post by m1z4rk »

Hi All -

After upgradeing from 0.8.6 to 0.8.7, and subsequently 0.8.7a (on RedHat AS3, using the Dag RPM), i can no longer add users. All other functionality is ok.

I'm logged in as admin, can do everything else, but upon adding a user:
"Error: Username change not permitted for designated template or guest user." I've attached a screenshot of the error.

Any ideas?

Thanks!
mark
Attachments
screenshot of problem
screenshot of problem
cacti-useradd-problem.jpg (66.04 KiB) Viewed 14590 times
***
Please note: your dreams may vary from those of the Globex corporation, its subsidiaries and stockholders
***
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Check the settings and set your Guest and Template users to "No User". See what it does.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
m1z4rk
Posts: 13
Joined: Mon Aug 29, 2005 7:09 pm
Location: Cayman Islands

Post by m1z4rk »

Thanks for the quick reply Rony. Both are already set to "No User".

thx,
mark
Attachments
cacti-useradd-problem2.jpg
cacti-useradd-problem2.jpg (15.48 KiB) Viewed 14581 times
***
Please note: your dreams may vary from those of the Globex corporation, its subsidiaries and stockholders
***
noflies
Cacti User
Posts: 83
Joined: Sun Dec 18, 2005 9:30 am

Post by noflies »

Got the same error...running 0.8.7a (no patches). Changed the user templates to "no user" as Rony suggested above with same result.

Then trying different combinations of parameters (BTW, auth always set to "local"), and a limited set of realm permissions, I left out the user's email address and selected all realm permissions...that did the trick.

Now in an attempt determine the root cause, I can't duplicate the problem. I've successfuly added about eight users and no combination of changed parameters produces any errors. A little spooky, but I'll keep an eye out for similar.
m1z4rk
Posts: 13
Joined: Mon Aug 29, 2005 7:09 pm
Location: Cayman Islands

Still no luck

Post by m1z4rk »

Thanks for the tip. Tried lots of combinations of realm permissions, account options, etc, with no success. still getting the same error.

Noflies - in what field did you leave off the user's email address? User Name / Full Name?

Thanks,
mark
***
Please note: your dreams may vary from those of the Globex corporation, its subsidiaries and stockholders
***
shruthi
Posts: 36
Joined: Thu Mar 23, 2006 2:00 am

Same problem

Post by shruthi »

Hey guys,
ive just migrated from 0.8.6.j to 0.8.7a and now i cant create new years, ive tried the suggestion above but no luck.. im wondering if we can create users directly in the db for now?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Plugin Arch or no Plugin Arch?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
noflies
Cacti User
Posts: 83
Joined: Sun Dec 18, 2005 9:30 am

Post by noflies »

m1z4rk...I thought it was "email address" that I left off. (maybe thats related to the PIA)

And to answer Rony's question; I am (and was using 0.8.7, no patches with PIA 1.4, thold, superlinks, hostinfo, tools, update).

I'm traveling at the moment and don't have access to that system, but I can post my hostinfo data by late Monday)

Sorry I can't help more at the moment.
m1z4rk
Posts: 13
Joined: Mon Aug 29, 2005 7:09 pm
Location: Cayman Islands

Post by m1z4rk »

Hi All -

FYI we're able to create users if we set the User Template to an existing user rather than "No User". Then we just need to tweak the permissions, etc.

Possible that user template "No User" got modified during the upgrade?

thanks,
mark
***
Please note: your dreams may vary from those of the Globex corporation, its subsidiaries and stockholders
***
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um... I will have to look into this issue.

Bug report for this issue: http://bugs.cacti.net/view.php?id=1166
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please email me a copy of you database....

Or if that is to much, a dump of you auth_users and settings table.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
rvisintine
Posts: 12
Joined: Mon Dec 19, 2005 9:51 am

Post by rvisintine »

I'm having the exact same problem. I've sent you an email with my DB dump. Let me know if you need anything else to track this down.

cacti-0.8.7
plugin-1.2
graph_create_xml_warning.patch
sec_sql_injection-0.8.7.patch

Thanks,
Roman
elliott
Posts: 4
Joined: Mon Jan 14, 2008 5:21 pm
Location: Oakland, CA USA

Post by elliott »

I'm seeing the same without the Plugin Arch. If there is any information that will help diagnose the problem, let me know and I'll provide it.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Did you send me your database?

I have yet to inspect the one that was sent to me.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

sorry for my english...
----------------deleted----------
EDIT.
need go to "Settings" - "Authentication". Set for [Guest User] and [User Template] any value, not "Not User".
Save.
Now set for [Guest User] and [User Template] value = "Not User".
Save.

create user withous error.
the problem = in table "settings" default value for [user_template] and [guest_user] is NULL.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests