Skip to content

Samba plugin - CIFS: VFS: Malformed UNC in devname #4247

@alexcustos

Description

@alexcustos

Describe the issue you are experiencing

Samba plugin offers the smb://<IP_ADDRESS> file system, and it works with some clients, but it's an incorrect naming, and it doesn't work in /etc/fstab.
The address has to include a resource name like smb://<IP_ADDRESS>/share_name.
It's a bit annoying to have a mount point for each folder.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Samba share

What is the version of the add-on?

12.5.4

Steps to reproduce the issue

  1. The plugin with the default settings.
  2. This is an /etc/fstab record that works fine:
    //<IP_ADDRESS>/config /mnt/haos-config cifs user,noauto,iocharset=utf8,rw,credentials=/.keys/mnt-haos,uid=1000,gid=1000,file_mode=0644,dir_mode=0755,_netdev 0 0
  3. When I try to mount //<IP_ADDRESS> it breaks

System Health information

it's fine and fresh

Anything in the Supervisor logs that might be useful for us?

Anything in the add-on logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions