1lsm_iscsi_chap_auth(3)    Libstoragemgmt C API Manual   lsm_iscsi_chap_auth(3)
2
3
4

NAME

6       lsm_iscsi_chap_auth - Set iSCSI CHAP authentication.
7

SYNOPSIS

9       int  lsm_iscsi_chap_auth (lsm_connect *conn, const char *init_id, const
10       char *in_user, const char *in_password,  const  char  *out_user,  const
11       char *out_password, lsm_flag flags);
12

ARGUMENTS

14       conn        Valid connection pointer
15
16       init_id     String. The iSCSI Initiator IQN.
17
18       in_user     String. The inbound user name
19
20       in_password String. The inbound password
21
22       out_user    String. The outbound user name
23
24       out_password
25                   String. The outbound password
26
27       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
28

VERSION

30       1.0
31

DESCRIPTION

33       Set  the  username  password for iSCSI CHAP authentication, inbound and
34       outbound.
35

RETURN

37       Error code as enumerated by 'lsm_error_number'.
38           * LSM_ERR_OK
39               On success.
40           * LSM_ERR_INVALID_ARGUMENT
41               When not a valid lsm_connect pointer or invalid flags.
42           * LSM_ERR_NO_SUPPORT
43               Not supported.
44
45
46
47November 2021                 lsm_iscsi_chap_auth       lsm_iscsi_chap_auth(3)
Impressum