I'm trying to run a Samba server installed in an Alpine Linux 3.7.0(Vanilla) inside VirtualBox and trying to access that from my Windows 10 host which is part of a domain. Here are the links that I tried to use to mitigate the problem but neither of them worked, hence I'm forced to ask this question again.
- Using Samba to share a folder from a Linux guest with a Windows host in VirtualBox
- Troubleshoot VirtualBox Linux Ubuntu guest access from Windows host
- Access Samba share from Windows 10 in VirtualBox
My Windows 10 box is part of a domain called
XX. My Windows domain username is
I've installed Samba with the help of this article.
I've tried both
smbpasswd -a root
adduser SuperCoolUserand then
smbpasswd -a SuperCoolUser
Both don't work.
[global] log file = /var/log/samba/log.%m max log size = 50 workgroup = XX server string = Samba Server %v netbios name = dev-1 security = user map to guest = bad user dns proxy = no username map = /etc/samba/smbusers [storage] path = /media/storage browsable = yes writeable = yes guest ok = yes
# Unix_name = SMB_name1 SMB_name2 ... root = SuperCoolUser
When I run
smbclient -L localhost -U% then this the output
Sharename Type Comment --------- ---- ------- storage Disk IPC$ IPC IPC Service (Samba Server 4.7.3) Reconnecting with SMB1 for workgroup listing. Server Comment --------- ------- Workgroup Master --------- ------- XX DEV-1
My virtual machine has two adapters
- Bridged(DHCP) for internet
- Host-only(Static) for SSH and file sharing(Samba)
Note: I'm able to
ssh into the machine and run commands, so its network visible.
If I run the command
smbclient -L 192.168.56.131 -U samba@samba where
samba is the
I get the following output
Enter samba@samba's password: Sharename Type Comment --------- ---- ------- storage Disk IPC$ IPC IPC Service (Samba Server 4.8.2) Reconnecting with SMB1 for workgroup listing. Server Comment --------- ------- Workgroup Master --------- ------- XX DEV-1
Notice the server section is empty. Does that mean my service is not running?