[libvirt] [PATCH v2 3/3] storage: Generate correct parameters for CIFS

Peter Krempa pkrempa at redhat.com
Tue Jun 16 07:03:42 UTC 2015


On Mon, Jun 15, 2015 at 17:30:37 -0400, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1186969
> 
> When generating the path to the dir for a CIFS/Samba driver, the code
> would generate a source path for the mount using "%s:%s" while the
> mount.cifs expects to see "//%s/%s". So check for the cifsfs and
> format the source path appropriately.
> 
> Additionally, since there is no means to authenticate, the mount
> needs a "-o guest" on the command line in order to anonymously mount
> the Samba directory.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  docs/formatstorage.html.in       |  7 +++++--
>  docs/storage.html.in             |  3 ++-
>  src/storage/storage_backend_fs.c | 27 ++++++++++++++++++++++-----
>  3 files changed, 29 insertions(+), 8 deletions(-)
>

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150616/db959f43/attachment-0001.sig>


More information about the libvir-list mailing list