[stgt] [PATCH 0/2] targets.conf support for discovery auth

Andy Grover agrover at redhat.com
Tue Mar 20 20:13:24 CET 2012

On 03/19/2012 08:57 PM, FUJITA Tomonori wrote:
> On Mon, 19 Mar 2012 18:49:05 -0700
> Andy Grover <agrover at redhat.com> wrote:
>> On 03/19/2012 05:51 PM, FUJITA Tomonori wrote:
>>> On Wed, 14 Mar 2012 17:07:50 -0700
>>> Andy Grover <agrover at redhat.com> wrote:
>>>> I've tested that the config settings are applied correctly, but haven't
>>>> been able to do sendtargets when discovery auth is configured. I'm not
>>>> sure if it's target or initiator misconfiguration on my part, but I
>>>> thought submitting this patch would make it easier for others to help
>>>> verify whether the feature works or not. :)
>>> Hmm, seems it works for me.
>> Oh, well that's good to hear. Please apply?
> Actually, I configured by hand. The discovery auth should work. So can
> you confirm that your patch works?

Yes I can, adding "incomingdiscoveryuser agrover secret" to targets.conf
results in tgt-admin calling:

tgtadm -C 0 --mode account --op new --user=agrover --password=secret
tgtadm -C 0 --mode account --op bind --user agrover

and I finally got the initiator configured properly, and verified
discovery w/auth also works from it, as expected.

Regards -- Andy
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the stgt mailing list