SCSI target development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] target: iscsi: control authentication per ACL
@ 2021-10-19  7:18 Dmitry Bogdanov
  2021-10-19  7:18 ` [PATCH v3 1/3] scsi: target: iscsi: Add upcast helpers Dmitry Bogdanov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dmitry Bogdanov @ 2021-10-19  7:18 UTC (permalink / raw)
  To: Martin Petersen, target-devel
  Cc: Mike Christie, linux-scsi, linux, Dmitry Bogdanov

dd acls/{ACL}/attrib/authentication attribute that controls authentication
for the particular ACL. By default, this attribute inherits a value of
authentication attribute of the target port group to keep a backward
compatibility.

authentication attribute has 3 states:
"0" - authentication is turned off for this ACL
"1" - authentication is required for this ACL
"-1" - authentication is inherited from TPG

This patchset is intended for scsi-queue.

v3:
 fix warning: no previous prototype for function 'iscsi_conn_auth_required'

v2:
 show effective value (-1) for inherited mode

Dmitry Bogdanov (3):
  scsi: target: iscsi: Add upcast helpers
  scsi: target: iscsi: extract auth functions
  target: iscsi: control authentication per ACL

 drivers/target/iscsi/iscsi_target_configfs.c  | 116 +++++++-------
 drivers/target/iscsi/iscsi_target_nego.c      | 148 ++++++++++++------
 .../target/iscsi/iscsi_target_nodeattrib.c    |   1 +
 drivers/target/iscsi/iscsi_target_tpg.c       |   3 +-
 include/target/iscsi/iscsi_target_core.h      |  14 ++
 5 files changed, 176 insertions(+), 106 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-05-10 19:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-19  7:18 [PATCH v3 0/3] target: iscsi: control authentication per ACL Dmitry Bogdanov
2021-10-19  7:18 ` [PATCH v3 1/3] scsi: target: iscsi: Add upcast helpers Dmitry Bogdanov
2021-10-19  7:18 ` [PATCH v3 2/3] scsi: target: iscsi: extract auth functions Dmitry Bogdanov
2021-10-19  7:18 ` [PATCH v3 3/3] target: iscsi: control authentication per ACL Dmitry Bogdanov
2021-10-22  5:59 ` [PATCH v3 0/3] " Mike Christie
2021-10-22  7:48   ` Dmitriy Bogdanov
2022-05-04 18:02     ` Dmitriy Bogdanov
2022-05-10 19:38       ` Mike Christie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox