1iscsi_session_password_get(3) API Manual iscsi_session_password_get(3)
2
3
4
6 iscsi_session_password_get - Retrieve authentication password of speci‐
7 fied session.
8
10 const char * iscsi_session_password_get (struct iscsi_session *se);
11
13 se Pointer of 'struct iscsi_session'. If this pointer is
14 NULL, your program will be terminated by assert.
15
17 Retrieve the authentication password of specified iSCSI session. Cur‐
18 rently open-iscsi only support CHAP authentication method. It's con‐
19 trolled this setting in iscsid.conf:
20
22 const char *. Empty string if not using CHAP authentication or failed
23 to read authentication information. No need to free this memory, the
24 resources will get freed by iscsi_session_free or iscsi_sessions_free.
25
26
27
28July 2023 iscsi_session_password_giestcsi_session_password_get(3)