I've got a couple targets exported through the iscsi-target. It seemed
to work fine a few months ago on Linux (don't have an example of that
anymore.)
But I just tried to connect a NetBSD host to a target using the
netbsd-iscsi-initiator package. Here's the problem:
# iscsifs -u pod -h maat -f /mnt
No matching user configuration entry for `pod' was found
Please add an entry for `pod' to `/etc/iscsi/auths'
pid 9980:parameters.c:545: ***ERROR*** Unknown user
`0x6f65043a10dc762a189a53738cccdbbb'
pid 9980:parameters.c:187: ***ERROR*** key "AuthResult" not found in
param list
pid 9980:initiator.c:1980: ***ERROR*** param_text_parse_offer() failed
pid 9980:initiator.c:1813: ***ERROR*** initiator_cmd_t failed
pid 9980:initiator.c:642: ***ERROR*** login_phase_i() failed
pid 9980:initiator.c:1160: ***ERROR*** enqueue_worker: discovery_phase()
failed (ignoring command)
On the host maat, I have a user "pod" in /etc/iscsi/auths like this:
pod:none:
Try putting an entry for 'pod' into /etc/iscsi/auths on the initiator
host.
I know that chap authentication works, don't know about "none".