I am unable to set the password of a lom user using ipmitool. Has anyone done 
this successfully on similar hardware? What am I missing???


Server info:

HP ProLiant DL380 G6
iLOM Firmware: 2.01   08/04/2010


Client info:

SUSE Linux Enterprise Server 10 (i586)
VERSION = 10
PATCHLEVEL = 1

Client tools:

ipmitool-1.8.9-2.7
OpenIPMI-2.0.7-35.10





$ ipmitool -I lanplus -U Administrator -H ilomaddress -P password channel info
Channel 0x2 info:
  Channel Medium Type   : 802.3 LAN
  Channel Protocol Type : IPMB-1.0
  Session Support       : multi-session
  Active Session Count  : 0
  Protocol Vendor ID    : 7154
  Volatile(active) Settings
    Alerting            : disabled
    Per-message Auth    : disabled
    User Level Auth     : enabled
    Access Mode         : always available
  Non-Volatile Settings
    Alerting            : disabled
    Per-message Auth    : disabled
    User Level Auth     : enabled
    Access Mode         : always available




$ ipmitool -I lanplus -U Administrator -H ilomaddress -P password user list 2
ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit
1   Administrator    true    false      false      ADMINISTRATOR
2   usera            true    false      false      ADMINISTRATOR
3   userb            true    false      false      ADMINISTRATOR
Get User Access command failed (channel 2, user 4): Requested sensor, data, or 
record not found






$ ipmitool -I lanplus -U Administrator -H ilomaddress -P password user set 
password 2
Password for user 2: newpass
Password for user 2: newpass
Set User Password command failed (user 2): Request data length invalid



$ echo $?
0




ipmitool-1.8.9/lib/ipmi_user.c:

static int
ipmi_user_set_password(
               struct ipmi_intf * intf,
               uint8_t user_id,
               uint8_t operation,
               const char *password,
               int is_twenty_byte_password)


    if (rsp->ccode > 0) {
        lprintf(LOG_ERR, "Set User Password command failed (user %d): %s",
            user_id, val2str(rsp->ccode, completion_code_vals));
        return rsp->ccode;
    }


Cheers
-------------------------------------------------------------------------


NOTICE: Confidential message which may be privileged. Unauthorized 
use/disclosure prohibited. If received in error, please go to www.td.com/legal 
for instructions.
AVIS : Message confidentiel dont le contenu peut être privilégié. 
Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière 
d'aller au www.td.com/francais/avis_juridique pour des instructions.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to