[OpenIndiana-discuss] Viewing CIFS shares with smbutil

Michael Kruger makruger2000 at gmail.com
Fri Aug 26 02:48:21 UTC 2016


Hello,

I have a rather strange problem with viewing CIFS shares.
Both client and server machine are running OI Hipster.
On the server I have 3 zfs datasets shared out via CIFS, but the CIFS 
client can only see one of them.
 From the OI Hipster server, everything looks OK to me.
And I am able to access all these shares from the client machine using 
the MATE GUI tool caja-connect-server. I can also access them via a 
Linux GUI client.

Not sure why I am seeing this inconsistency.

Michael

(From the server):

# sharemgr show -vp
default nfs=()
smb smb=()
         * /var/smb/cvol  smb=() ""
                   c$=/var/smb/cvol       smb=(abe="false" 
guestok="false")      "Default Share"
zfs smb=()
     zfs/storage/freeagent_backup smb=()
           freeagent_backup=/storage/freeagent_backup
     zfs/storage/laptop_backup smb=()
           laptop_backup=/storage/laptop_backup
     zfs/storage/wd500_backup smb=()
           wd500_backup=/storage/wd500_backup

(From the client):

$ smbutil view //172.16.0.107
Share        Type       Comment
-------------------------------
c$           disk       Default Share
IPC$         IPC        Remote IPC
vss$         disk       VSS
wd500_backup disk

4 shares listed from 4 available

I also tried viewing the list of shares from a Linux command line. While 
it sees all the shares, it looks to be unhappy about netbios.

smbclient -L 172.16.0.107
WARNING: The "syslog" option is deprecated
Enter mike's password:
Domain=[WORKGROUP] OS=[SunOS 5.11 illumos-4cde22c] Server=[Native SMB 
service]

         Sharename       Type      Comment
         ---------       ----      -------
         c$              Disk      Default Share
         wd500_backup    Disk
         ipc$            IPC       Remote IPC
         freeagent_backup Disk
         laptop_backup   Disk
Connection to 172.16.0.107 failed (Error NT_STATUS_CONNECTION_REFUSED)
NetBIOS over TCP disabled -- no workgroup available



More information about the openindiana-discuss mailing list