Feature #989

List SMB shares on server

Added by Valentin Meriel over 8 years ago. Updated over 5 years ago.

Status:FixedStart date:05/07/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Filesystem
Target version:4.10

Description

Hello,

I have an improvement for you. Allow SMB Share to share the racine of an SMB share like : SMB://HostName/ .

I want that because my nas (Synology) automaticaly share usb drive on / and no in a specific folder.

Sorry for my english i'm french.

Associated revisions

Revision 9695b756
Added by Andreas Smas over 5 years ago

smb: Add support for browsing shares

Fixes #989

Change included in version 4.9.114

History

#1 Updated by Jakub Stedry over 8 years ago

I would guess that this wount work. SMB sharing is based on share_folder name which is this case is not available. And I think that on synology it is not possible to create a share on the top level - like in Microsoft world "admin share" based on "$" sharing whole drive

Jakub

#2 Updated by Valentin Meriel over 8 years ago

Sorry, I did probably not well understood, what I want is power used directly smb://IP.or.Name/ as a folder, because when I use Samba on my NAS it create folders that are automatically added to share, but I can not definire in advance and I have to change the link of favorie in Showtime.

#3 Updated by Andreas Smas over 8 years ago

  • Category changed from API to Filesystem
  • Status changed from New to Accepted
  • Target version set to 4.0

#4 Updated by Andreas Smas about 8 years ago

  • Target version changed from 4.0 to 33

#5 Updated by Andreas Smas almost 7 years ago

  • Target version deleted (33)

#6 Updated by Leonid Protasov almost 7 years ago

I tried to create bookmark like: smb://192.168.0.190 - Windows 7 host. And in ST log see:
SMB Error 0xc00000bb

Found following explanation: http://lists.samba.org/archive/jcifs/2011-December/009828.html

To implement that ST needs modification of bookmark dialog if you use smb://
You should add login and pass fields because Windows doesn't allow to list shares to Guests by default (security restrictions):

[email protected]:/home/showtime# smbclient -L 192.168.0.190 -Ulenya
Enter lenya's password: 
Domain=[BIG] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]

    Sharename       Type      Comment
    ---------       ----      -------
    ADMIN$          Disk      Удаленный Admin
    C$              Disk      Стандартный общий ресурс
    IPC$            IPC       Удаленный IPC
    print$          Disk      Драйверы принтеров
    Users           Disk      
session request to 192.168.0.190 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available

#7 Updated by Andreas Smas over 5 years ago

  • Subject changed from Allow SMB without Share folder. to List SMB shares on server
  • Target version set to 4.10

#8 Updated by Andreas Smas over 5 years ago

  • Status changed from Accepted to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF