I am using SnapDrive for Windows 6.4P1 and when I try to connect to a filer with sdcli iscsi_initiator establish_session -h # -tp # -t iqn -np ip port -c user password I get the following error:
Unable to establish an iSCSI session.
Error: Object reference not set to an instance of an object.
If I disable CHAP and connect without the -c parameter it connects fine. So, has anyone else run in to this or did I muck up the command line (assuming everything but the -c parameter is correct because without it the connection works). I do use the iqn of the client as the username for CHAP.
I am also curious how many people really use CHAP security since iSCSI has to be on a layer-2 network from trusted hosts.