]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iscsi-target: Add demo-mode TPG authentication context support
authorNicholas Bellinger <nab@linux-iscsi.org>
Thu, 20 Jun 2013 01:48:51 +0000 (18:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 26 Jun 2013 07:35:04 +0000 (00:35 -0700)
commit58a54ca80239b8bf27bfac55e97ba4542347b59b
tree59a630f443bb047e45806395c096629e02c4d43d
parent68687d1578d33be9732a77447e473fb28a3089c4
iscsi-target: Add demo-mode TPG authentication context support

This patch adds a auth configfs group context following existing
explict NodeACL and discovery auth within:

  /sys/kernel/config/target/iscsi/$TARGETNAME/$TPGT/auth/

This patch allows these attributes to be used for CHAP authentication
an TPG is configured in demo-mode (generate_node_acl=1).

Note this authentication information takes precedence over NodeACL
authentication when struct se_node_acl->dynamic_node_acl is present.

Cc: Dax Kelson <dkelson@gurulabs.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_configfs.c
drivers/target/iscsi/iscsi_target_core.h
drivers/target/iscsi/iscsi_target_nego.c