[katello 2.3] how to use hammer with an external user

Hello,

I've configured katello/foreman to use freeipa as an external
authentication source.

The use of the external authentication works fine for the gui.

However I cannot seem to get it to work for the hammer cli.

This worsk fine :
hammer -u admin -p secretpw user list

This does not work.
however -u externaluser -p secrepw user list

The external user is a katello admin user and in the gui the externaluser
can see the user list.

Cheers
Rob Verduijn

I don't think there's any support for this.
Feature #8923: Ability to use Negotiate/Kerberos authentication to API and hammer - Hammer CLI - Foreman + related track it.

··· On 28/09/15 15:09, Rob Verduijn wrote: > Hello, > > I've configured katello/foreman to use freeipa as an external > authentication source. > > The use of the external authentication works fine for the gui. > > However I cannot seem to get it to work for the hammer cli. > > This worsk fine : > hammer -u admin -p secretpw user list > > This does not work. > however -u externaluser -p secrepw user list > > The external user is a katello admin user and in the gui the > externaluser can see the user list.


Dominic Cleal
dominic@cleal.org