DMTF / Redfish-Usecase-Checkers

This is a collection of python3 tools to exercise and validate common use cases for Redfish
Other
1 stars 6 forks source link

Failed to login with user 'testuser0' then return code 403 #56

Open FelixD999 opened 2 years ago

FelixD999 commented 2 years ago

Hi, When I Sent the command like below: python3 account_management.py -r 192.168.0.116 -u -p -S Always

The result is shown in the screenshot: Usecase_Checkers_403

I checked PasswordChangeRequired Setting is true from new created account. Are there any methods to create an account that doesn't need to change the password? or create other RoleId account?

Thanks

mraineri commented 2 years ago

"PasswordChangeRequired" is writable, so as part of this test, it looks like we'll need to insert an additional step to PATCH the value to false prior to attempting to log into the service.