Server configure:
[iSCSI_T11]
        authen=yes
        max_sessions=1
        tid=11
        data_chksum=no
        recv_seg_bytes=262144
        enabled=yes
        mutual_password=
        username=admin
        mutual=no
        iqn=Madison-NAS.webster
        mutual_username=
        name=webster
        hdr_chksum=no
        send_seg_bytes=4096
        bkp_obj=0
        password=1qaz2wsx3edc
--------------------------------------------------------------------------------------------------------------------------------------------
Client configure:
iscsid.startup = /sbin/iscsid
node.startup = manual
node.leading_login = yes
node.session.auth.authmethod = CHAP
node.session.auth.username = webster
node.session.auth.password = 1qaz2wsx3edc
node.session.timeo.replacement_timeout = 120
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.noop_out_interval = 5
node.conn[0].timeo.noop_out_timeout = 5
node.session.err_timeo.abort_timeout = 15
node.session.err_timeo.lu_reset_timeout = 30
node.session.err_timeo.tgt_reset_timeout = 30
node.session.initial_login_retry_max = 8
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.xmit_thread_priority = -20
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
node.session.nr_sessions = 1
node.session.iscsi.FastAbort = Yes
--------------------------------------------------------------------------------------------------------------------------------------------

iscsid log ~ # iscsid -f -d 3 -c=/etc/iscsi/iscsid.conf:
iscsid: connecting to
192.168.0.54:3260
iscsid: connected local port 33200 to
192.168.0.54:3260
iscsid: expecting event 11, got 106,
handling...
iscsid: login response status 0201
iscsid: Login failed to authenticate with target madison-nas.webster
iscsid: login_rsp ret (0)
iscsid: session 1 login rejected: Initiator failed authentication with
target
iscsid: deleting a scheduled/waiting thread!
iscsid: deleting a scheduled/waiting thread!
iscsid: disconnect conn
iscsid: disconnecting conn 0x6deb00, fd 6
iscsid: stop conn (conn state 2)
iscsid: kdestroy conn
iscsid: kdestroy session 1
iscsid: expecting event 12, got 105, handling...
iscsid: expecting event 12, got 104, handling...
iscsid: Connection1:0 to [target: madison-nas.webster, portal:
192.168.0.54,3260] through [iface: default] is shutdown.
iscsid: deleting a scheduled/waiting thread!
iscsid: destroying session

iscsid: deleting a scheduled/waiting thread!
iscsid: Releasing session 0x6d9d30
--------------------------------------------------------------------------------------------------------------------------------------------

Log iscsiadm # /sbin/iscsiadm --mode node --targetname madison-
nas.webster --portal 192.168.0.54:3260 -l:

Logging in to [iface: default, target: madison-nas.webster, portal:
192.168.0.54,3260] (multiple)
iscsiadm: Could not login to [iface: default, target: madison-
nas.webster, portal: 192.168.0.54,3260].
iscsiadm: initiator reported error (24 - iSCSI login failed due to
authorization failure)
iscsiadm: Could not log into all portals

--------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------
It's all.

if I disable authentication, iscsi connected without a problem.I
removed the line "CHAP" in client config, but no change.
Now I test version of the open-iscsi-2.0-873.tar.gz on Slackware
Current (14.0) and I have this problem.

Older versions (open-iscsi-2.0-872) of the open-iscsi on slackware
13.1, authenticate without problem.

Do you have any solutions?

Regards,

Valheru & Webster
††† Chaos Of The Mirror - Valheru †††
††† I ♥ SlackWare RuLeZ †††

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to