[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI

From: ronnie sahlberg
Subject: Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI
Date: Thu, 15 Sep 2011 08:51:00 +1000

On Thu, Sep 15, 2011 at 12:36 AM, Christoph Hellwig <address@hidden> wrote:
>> > +/*
>> > + * We support iscsi url's on the form
>> > + * iscsi://[<username>%<password>@]<host>[:<port>]/<targetname>/<lun>
>> > + */
> Is having username + password on the command line really a that good idea?
> Also what about the more complicated iSCSI authentification schemes?

In general it is a very bad idea. For local use on a private box it is
convenient to be able to use "<username>%<password>@" syntax.
For use on a shared box, libiscsi supports an alternative method too
by setting the username and/or password via environment variables :

I will document this better in the next patch.

Libiscsi only support CHAP at this stage. Which other authentication
schemes do you have in mind? Perhaps I can add them.

ronnie sahlberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]