1iscsi_session_password_in_get(3)  API Manual  iscsi_session_password_in_get(3)
2
3
4

NAME

6       iscsi_session_password_in_get  -  Retrieve  authentication  password of
7       specified session.
8

SYNOPSIS

10       const char * iscsi_session_password_in_get (struct iscsi_session *se);
11

ARGUMENTS

13       se          Pointer of 'struct  iscsi_session'.   If  this  pointer  is
14                   NULL, your program will be terminated by assert.
15

DESCRIPTION

17       Retrieve  the  inbound  authentication password of specified iSCSI ses‐
18       sion.  Currently open-iscsi only support  CHAP  authentication  method.
19       The inbound authentication here means the iSCSI initiator authenticates
20       the iSCSI target using CHAP.  It's  controlled  this  setting  in  isc‐
21       sid.conf:
22

RETURN

24       const  char *. Empty string if not using inbound CHAP authentication or
25       failed to read authentication information.  No need to free  this  mem‐
26       ory,  the  resources will get freed by iscsi_session_free or iscsi_ses‐
27       sions_free.
28
29
30
31July 2023                iscsi_session_passwordi_sicns_ig_estession_password_in_get(3)
Impressum