Microsoft iSCSI Initiator: How to pass a CHAP user name

authenticationiscsiwindows-server-2008-r2

I need to connect a Win2008 R2 server to a iSCSI target and I'm supposed to use a CHAP user name that is different from the initiator name.

Technet says:

By default, the Microsoft iSCSI Initiator service uses the initiator node name as the CHAP username. You can override this action by passing a CHAP username to the login request.

Now my question is: How and where can I override this? At least using the GUI, I couldn't find a way to specify a CHAP user name.

Best Answer

When connecting to the target you have to select the "Advanced" button and then specify the name under the "Enable CHAP" log on" options.