[hammer] Creating users, how do I know the auth-source

I went to create a user, and I tried to pass in:

–auth-source-id INTERNAL

but I discovered

  1. Invalid, but it does not fail

and

  1. I actually had to pass in

–auth-source-id 1

How would I have gotten the ID? I dont see it in ui or in cli

Can I assume there are two issues to file:

A) invalid auth-source-ids should fail
B) [RFE] Pass in either --auth-source-id or --auth-source

– bk

I went through the process and filed 3 issues:

http://projects.theforeman.org/issues/4356
http://projects.theforeman.org/issues/2924
http://projects.theforeman.org/issues/4355

patch for the last one is on the way.

T.

··· On 02/14/2014 09:31 PM, Bryan Kearney wrote: > I went to create a user, and I tried to pass in: > > --auth-source-id INTERNAL > > but I discovered > > 1) Invalid, but it does not fail > > and > > 2) I actually had to pass in > > --auth-source-id 1 > > How would I have gotten the ID? I dont see it in ui or in cli > > Can I assume there are two issues to file: > > A) invalid auth-source-ids should fail > B) [RFE] Pass in either --auth-source-id or --auth-source > > -- bk >