iSCSI CHAP authentication problem - windows

Discussion in 'User Authentication' started by zveky, Feb 12, 2012.

  1. Offline

    zveky

    Member Since:
    Feb 12, 2012
    Messages:
    1
    Message Count:
    1
    Likes Received:
    0
    Trophy Points:
    0
    zveky, Feb 12, 2012

    Adding target without CHAP works fine but I want to add authentication.

    I added iSCSI user
    Group ID : 1
    user : I tried normal user and iqn user
    secret : CHAP password have 12 characters.

    On iSCSI Target I set
    Auth method : CHAP
    Authentication Group number : 1

    # windows

    c:\>iscsicli QAddTargetPortal target.tld user pass(12 characters)
    Microsoft iSCSI Initiator Version 6.1 Build 7601

    Authentication Failure.

    - event log

    Log Name: System
    Source: MSiSCSI
    Description:
    iSCSI discovery via SendTargets failed with error code 0xefff0009 to target portal *target.tld 0003260 Root\ISCSIPRT\0000_0 .


    Log Name: System
    Source: iScsiPrt
    Description:
    Login request failed. The login response packet is given in the dump data.


    # freenas

    Feb 12 18:45:38 freenas istgt[69787]: istgt_iscsi.c:1618:istgt_iscsi_auth_params: ***ERROR*** auth failed (user magi)
    Feb 12 18:45:38 freenas istgt[69787]: istgt_iscsi.c:2408:istgt_iscsi_op_login: ***ERROR*** iscsi_auth_params() failed
    Feb 12 18:46:12 freenas istgt[69787]: istgt_iscsi.c:1618:istgt_iscsi_auth_params: ***ERROR*** auth failed (user magi)
    Feb 12 18:46:12 freenas istgt[69787]: istgt_iscsi.c:2408:istgt_iscsi_op_login: ***ERROR*** iscsi_auth_params() failed

    Am I missing something?

Share This Page