iscsi_session_password_get(3) | API Manual | iscsi_session_password_get(3) |
iscsi_session_password_get - Retrieve authentication password of specified session.
const char * iscsi_session_password_get (struct iscsi_session *se);
Retrieve the authentication password of specified iSCSI session. Currently open-iscsi only support CHAP authentication method. It's controlled this setting in iscsid.conf:
const char *. Empty string if not using CHAP authentication or failed to read authentication information. No need to free this memory, the resources will get freed by iscsi_session_free or iscsi_sessions_free.
iscsi_session_password_get | October 2022 |