ProLiant Servers (ML,DL,SL)
1753784 Members
7032 Online
108799 Solutions
New Discussion

curl to set ilo user's minimum password length NOT working

 
SOLVED
Go to solution
DenYeo
Occasional Advisor

curl to set ilo user's minimum password length NOT working

I am trying to change the ilo user's minimum password length by running this curl command:

# curl -s -H "Content-Type: application/json" -X POST --data '{"Oem": { "Hpe": {"MinPasswordLength": "11"} }}' https://<iloHostname>/redfish/v1/accountservice/ -u <ilousername>:<ilopasswd> --insecure

But i gotten this instead:

{"error":{"code":"iLO.0.10.ExtendedInfo","message":"See @Message.ExtendedInfo for more information.","@Message.ExtendedInfo":[{"MessageArgs":["Action"],"MessageId":"Base.1.4.PropertyMissing"}]}}

 

1) what curl command parameters do i use to view the message extended info to see the detailed error message?

2) How do i set the ilo user's minimum password length using the curl command?

 

 

 

 

 

3 REPLIES 3
DenYeo
Occasional Advisor

Re: curl to set ilo user's minimum password length NOT working

any one knows? Or is it because of a bug in ilo 2.3x

DenYeo
Occasional Advisor
Solution

Re: curl to set ilo user's minimum password length NOT working

Found out that i should use PATCH instead of POST.

 

But i would still like to know:

1) what curl command parameters do i use to view the message extended info to see the detailed error message?

so that i would know how to better troubleshoot.

SanjeevGoyal
HPE Pro

Re: curl to set ilo user's minimum password length NOT working


Hello,

I would suggest follow the below documents.

HPE Integrated Lights-Out 4 (iLO 4) - Extracting the Active Health System Log by Using curl
https://support.hpe.com/hpesc/public/docDisplay?docId=c05327966&docLocale=en_US

HPE Integrated Lights Out (iLO 4) - Managing User Accounts
https://support.hpe.com/hpesc/public/docDisplay?docId=a00045108en_us&docLocale=en_US

 

HPE Integrated Lights-Out (iLO 4) - Setting Up iLO
https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-a00020272en_us

 

HPE Integrated Lights Out (iLO 4) - Document List
https://support.hpe.com/hpesc/public/docDisplay?docId=a00043732en_us&docLocale=en_US

 

If you feel this was helpful please click the KUDOS! thumb below!   
Regards,


I am a HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo