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 -

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.

Environment

  • Red Hat Satellite 6.3.x.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content