Skip Menu |

This queue is for tickets about the Net-ILO CPAN distribution.

Report information
The Basics
Id: 65352
Status: resolved
Priority: 0/
Queue: Net-ILO

People
Owner: NLEWIS [...] cpan.org
Requestors: Chris.Sarginson [...] ukfast.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.40
  • 0.41
  • 0.42
  • 0.43
  • 0.51
  • 0.52
  • 0.53
Fixed in: (no value)



Subject: update for ILO.pm to allow privilege modification
Date: Tue, 1 Feb 2011 17:56:27 +0000
To: "bug-Net-ILO [...] rt.cpan.org" <bug-Net-ILO [...] rt.cpan.org>
From: Chris Sarginson <Chris.Sarginson [...] ukfast.co.uk>
Just a small update to add in the following under sub add_user, this has been tested ONLY on iLO3. my $user_remote = $arg_ref->{remote} || 'No'; my $user_reset = $arg_ref->{user_reset} || 'No'; my $user_virtual = $arg_ref->{virtual} || 'No'; my $ilo_command = qq| <USER_INFO MODE="write"> <ADD_USER USER_NAME="$user_name" USER_LOGIN="$user_login" PASSWORD="$user_password"> <ADMIN_PRIV value="$user_admin"/> <REMOTE_CONS_PRIV value="$user_remote" /> <RESET_SERVER_PRIV value="$user_reset" /> <VIRTUAL_MEDIA_PRIV value="$user_virtual" /> </ADD_USER> </USER_INFO> |;
Thanks for this! Somehow I missed that the default permissions were 'No' for the various privileges so I guess that makes adding a non-admin user kind of useless! Will fix this ASAP.
Fixed in 0.54 (but not tested). Please reopen if this is not fixed in the latest release. Thanks!