No, that's incorrect.

You're assuming that the coding of the lower byte in the 16-bit response is a 
single global code space independent of the upper byte.

That is not how the RFC is written.  Instead, the entire 16 bit value is the 
code, and you must interpret it as a unit.  This is completely clear from the 
table of codes in the RFC: 0201 is error, authentication failure.  But 0101 is 
"target moved temporarily".  It is not authentication failure and has nothing 
to do with authentication failure.  (Indeed, it isn't even the case that 
authentication has been done at all when the 0101 response is generated; the 
RFC clearly states that it may be issued prior to completion of authentication.)

        paul

On Jul 31, 2014, at 3:16 PM, Anish Bhatt <[email protected]> wrote:

> 0101 implies you're getting a status class of 0x1 & status detail of 0x1
> 
> #define ISCSI_STATUS_CLS_REDIRECT               0x01
> #define ISCSI_LOGIN_STATUS_AUTH_FAILED    0x01
> 
> You are getting redirect as well as auth failed, hence.
> -Anish
> ________________________________
> From: [email protected] [[email protected]] on behalf of 
> KUMAR NITISH [[email protected]]
> Sent: Tuesday, July 29, 2014 11:19 PM
> To: [email protected]
> Subject: Getting log "Login authentication failed with target .." during 
> login-redirect
> 
> Hi all,
> 
> I am using Dell EqualLogic array as target. When I make session with this 
> target, I am getting logs as given below :
> 
> login response status 0101
> Login authentication failed with target 
> iqn.2001-05.com.equallogic:0-8a0906-964f1f903-d850018d2a253d5f-nitishk521
> ...
> ..
> login response status 0000
> Login Success: 
> iqn.2001-05.com.equallogic:0-8a0906-964f1f903-d850018d2a253d5f-nitishk521 
> if=default addr=10.115.178.29:3260 (TPGT:1 ISID:0x1)
> 
> 
> Since "login response status 0101" is for "iscsi login-redirect" , so why " 
> Login authentication failed with target " message is coming..?
> I think It's a bug and It should show the proper log message.
> 
> 
> Thanks,
> Nitish
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to 
> [email protected]<mailto:[email protected]>.
> To post to this group, send email to 
> [email protected]<mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to