summaryrefslogtreecommitdiff
path: root/usr/iscsistart.c
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2022-05-16 17:29:30 -0700
committerGitHub <noreply@github.com>2022-05-16 17:29:30 -0700
commit433fad9ddadd62e5edf9597493f32a3b9443cc59 (patch)
treec3ac5f0733cc34595e970f027e13ac392e5c340a /usr/iscsistart.c
parent9dc06a2a75438907cbac0a1523f4d235d28ab58b (diff)
parent4b377041ef88f7c683b0a880e937e71a773c2c68 (diff)
downloadopen-iscsi-433fad9ddadd62e5edf9597493f32a3b9443cc59.tar.gz
Merge pull request #350 from ericwmackay/ipc_auth_uid
Add ability for MGMT IPC to check UID only
Diffstat (limited to 'usr/iscsistart.c')
-rw-r--r--usr/iscsistart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/iscsistart.c b/usr/iscsistart.c
index b23751b..0fb1f56 100644
--- a/usr/iscsistart.c
+++ b/usr/iscsistart.c
@@ -527,6 +527,8 @@ int main(int argc, char *argv[])
log_debug(1, "TPGT=%d", config_rec.tpgt);
log_debug(1, "IP Address=%s", config_rec.conn[0].address);
+ ipc->auth_type = ISCSI_IPC_AUTH_UID;
+
/* log the version, so that we can tell if the daemon and kernel module
* match based on what shows up in the syslog. Tarballs releases
* always install both, but Linux distributors may put the kernel module