Skip to content

3.0 regression from 2.2.x: Can't open smb/file/ftp/sftp url with a decoded path

With VLC 2.2.4, I was able to access files on my password-protected samba share by opening VLC on the command line and specifying the share password in the URL:

vlc 'smb://gaston:[password]@living-room-pc/Users/Gaston/Desktop/Bravestarr - 02 - Memories.MP4

This worked fine, and the file would immediately open and begin to play.

In 3.0.0git20171027+r72110+89ubuntu17.04.1 (from the nightly build PPA), this no longer works. VLC's main window opens with a password prompt, as though I hadn't given it the password, or gave it the wrong one:

Inline Image Attachment

When I enter the username and password as asked, the credentials are rejected:

Inline Image Attachment

The error message is strange, since those aren't actually shares, which smbtree confirms:

$ sudo smbtree                                                     
Enter root's password:                                                                    
WORKGROUP                                                                                 
        \\SPECTRE                       Spectre server (Samba, Ubuntu)                    
                \\SPECTRE\Public                                                          
                \\SPECTRE\HP-LaserJet-1200      Hewlett-Packard HP LaserJet 1200          
                \\SPECTRE\IPC$                  IPC Service (Spectre server (Samba, Ubuntu))                                                                                        
                \\SPECTRE\print$                Printer Drivers                           
        \\LIVING-ROOM-PC 

I've attached the console spew resulting from running vlc with -vvv.

Edited by Jean-Baptiste Kempf
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information