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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/19/2012 08:57 PM, FUJITA Tomonori wrote:
> On Mon, 19 Mar 2012 18:49:05 -0700
> Andy Grover <agrover@xxxxxxxxxx> wrote:
> 
>> On 03/19/2012 05:51 PM, FUJITA Tomonori wrote:
>>> On Wed, 14 Mar 2012 17:07:50 -0700
>>> Andy Grover <agrover@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux