Frequently met error messages received from the iLO2 interface when attempting to log-in are:
iLO 2 has detected a failed login attempt. Cause: Directory server connect failed
or:
iLO has detected a failed login attempt. Cause: Unauthorized.
the former relates to Active Directory being enabled for an user as authentication and the latter implies a username and password mismatch.
Both issues can be solved by using hponcfg
to reset the username and password for iLO2. The hponcfg
utility is available on Debian by adding the apt repository:
deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free
or on Windows by downloading the hponcfg.exe
utility.
To reset the password, a new file should be created with the following contents:
<!-- RIBCL Sample Script for Integrated Lights-Out --> <!-- Copyright (c) 2003 Hewlett-Packard Development Company, L.P. --> <!-- Description: This is a sample XML script to change a user's --> <!-- password in the database of local users on an iLO --> <!-- NOTE: You will need to replace the values inside the quote --> <!-- marks with values that are appropriate for your --> <!-- environment. --> <!-- Use CPQLOCFG.EXE ver 2.10 or greater with this script --> <!-- This script was written for iLO firmware ver 1.10 or --> <!-- higher. --> <RIBCL VERSION="2.0"> <LOGIN USER_LOGIN="adminname" PASSWORD="password"> <USER_INFO MODE="write"> <MOD_USER USER_LOGIN="username"> <PASSWORD value="password"/> </MOD_USER> </USER_INFO> </LOGIN> </RIBCL>
The values adminname
and username
should be set to an iLO2 user and password
to the new password.
After that, hponcfg
can be invoked with:
hponcfg -f password_reset.xml
where password_reset.xml
is the path to the file described earlier.