cannot unbind outgoing user

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

 



I'm unable to unbind an outgoing user, as tgtadm doesn't accept the
--outgoing argument,

# tgtadm --lld iscsi --mode account --op unbind --user user1 --tid 1 --outgoing
tgtadm: target mode: option '-O' is not allowed/supported
#

The following tiny patch fixes this:

--- tgt-1.0.19/usr/tgtadm.c     2011-09-18 10:31:52.000000000 +1000
+++ tgt-1.0.19a/usr/tgtadm.c    2011-09-17 18:57:06.000000000 +1000
@@ -719,7 +719,7 @@ int main(int argc, char **argv)
                                tid = GLOBAL_TID;
                        break;
                case OP_UNBIND:
-                       rc = verify_mode_params(argc, argv, "LmotuC");
+                       rc = verify_mode_params(argc, argv, "LmotuOC");
                        if (rc) {
                                eprintf("target mode: option '-%c' is not "
                                          "allowed/supported\n", rc);


Thanks,

Paul Ryan
ÿôèº{.nÇ+?·?®?­?+%?Ëÿ±éݶ¥?wÿº{.nÇ+?·­j¸·÷^½éÿ?{ayºÊ?Ú?ë,j­¢f£¢·h??ï?êÿ?êçz_è®(­é???Ý¢j"?ú¶m§ÿÿ¾«þG«?éÿ¢¸??¨è­Ú&£ø§~?á



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux