NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: iscsifs problems (on netbsd)



On Sat, 24 Jul 2010, Alistair Crooks wrote:
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".

Yes, none doesn't work, nor does not specifying a username (contrary to the docs). I have patches to fix this (and other interoperability issues) which I need to get round to committing to HEAD[1], I'll then update the package.

[1] CHAP only works in very specific circumstances (small challenge length) so doesn't work with most targets. I'm in the middle of reworking the CHAP code, but I ought to not let that hold up committing the other fixes.

--
Stephen



Home | Main Index | Thread Index | Old Index