While creating user with hammer having external authentication source LDAP/AD results in error: Could not create the user: Missing arguments for user[password] in Red Hat Satellite.

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.3.x.

Issue

  • When creating a user on satellite 6.3 with hammer having external authentication source LDAP/AD gives an error if password parameter not mentioned.
# hammer user create --auth-source-id 3   --firstname abc --lastname xyz   --login abc123 --mail 'abc@example.com' --roles 'Access Insights Viewer,Customized Viewer,Red Hat Access Logs,Tasks Reader,View hosts' 
Could not create the user:
  Missing arguments for 'user[password]'     
  • Password parameter is mandatory while creating a user having external authentication source LDAP/AD using hammer.

Resolution

For more KB articles/solutions related to Red Hat Satellite 6.x Authentication Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Authentication Issues

SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.