[iscsi] Include credentials in iBFT only if used during iSCSI login
authorMichael Brown <mcb30@etherboot.org>
Fri, 20 Feb 2009 21:41:00 +0000 (21:41 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 20 Feb 2009 21:41:00 +0000 (21:41 +0000)
commit4dd746a725f69d7b13b24dccff0112158c38dbe3
tree742fb022e4576daebca64bd823dada9958d71639
parent78d426d19695982162056e14d83ffb075a86073b
[iscsi] Include credentials in iBFT only if used during iSCSI login

Avoid passing credentials in the iBFT that were available but not
required for login.  This works around a problem in the Microsoft
iSCSI initiator, which will refuse to initiate sessions if the CHAP
password is fewer than 12 characters, even if the target ends up not
asking for CHAP authentication.
src/arch/i386/interface/pcbios/ibft.c
src/include/gpxe/iscsi.h
src/net/tcp/iscsi.c