Check your CHAP setting in your configure file.

Vaibhav  Pol



On Tue, Jan 20, 2009 at 12:03 AM, Mike Christie <micha...@cs.wisc.edu>wrote:

>
> Nikhil Talpallikar wrote:
> > Hi,
> > I cannot login to a target if I do a discovery via iSNS server, but if I
> do
>
> Are you doing
>
> iscsiadm -m discovery -t isns
>
>
> > discovery using SendTarget method I can login........
> > I could figure out something.....but i am not able to resolve it.....
> >
> > When I do discovery via ST the req->flags (Login PDU flags) are set
> > to ISCSI_FLG_CSG_SECURITY, which calls CHAP authentication method.
> >
> > But when I do a discovery via iSNS server req->flags are set
> > to ISCSI_FLG_CSG_LOGIN due to which it does not use CHAP authentication.
> >
>
> It might be a bug in the open-iscsi setup code.
>
> Do you have the CHAP settings in /etc/iscsi/iscsid.conf
>
> ?
>
> Then when you do
>
> iscsiadm -m discovery -t isns
>
>
> for the targets found if you do
>
> iscsiadm -m node -T your_target -p ip:port
>
>
> When it spits out the node info do you see the CHAP settings that should
> get used?
>
>
> What version of the open-iscsi tools are using? Are then from
> open-iscsi.org or from a distro?
>
>
> > Why is this so? Does the iSNS server interfere with the login PDU???????
> >
> >
> >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to