Re: how to set mutual chap with targets.conf

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

 



On 07/09/2010 02:20 PM, Tomasz Chmielewski wrote:
Am 09.07.2010 20:47, Mike Christie wrote:
Hi list and Tomasz,

I see Tomo merged the patch to support mutual CHAP here:
http://git.kernel.org/?p=linux/kernel/git/tomo/tgt.git;a=commitdiff;h=6f914cf641c8f53b22bf76aa5aba2f8a408c81c9



I was wondering if there is a patch to set it in targets.conf too?

Not that I know of. Is changing tgt-admin needed at all?

Looks also my one of my patches ("add iSNS support" from 30 March 2010)
was not applied - I'll have to change it a bit, as it no longer applies.


Could you give me a couple of tgtadm examples for the patch you mention?

Sorry for the late reply.

I have been trying to work on this one, but my perl is just too weak. Got lucky on readonly patch :).

To set this you create a account like normal, but instead of binding it to a tid you bind it globally by not passing in any tid.


tgtadm --lld iscsi --op new --mode account --user hoge --password deadbeaf
tgtadm --lld iscsi --op bind --mode account --user hoge


# bind globally for outgoing
tgtadm --lld iscsi --op new --mode account --user fujita --password tomo
tgtadm --lld iscsi --op bind --mode account --user fujita --outgoing
--
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