I cannot for the life of me figure out why none of my other computers or VMs can connect to the samba shares I have created.
I can connect to it from my laptop by using nautilus and typing smb:ipaddress and then being prompted for creds.
All firewalls have been checked. The access based share enum = yes option makes it so my laptop through the direct address connection no longer sees the music share.
I added the options “security”, changed the server string, and turned on the wins support. Other than that the Global configs are vanilla.
I have created users both with useradd and smbpasswd.
With the smb defined connection I can access files without issue
[global]
server string = %h leon storage (Samba, Ubuntu)
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = bcast host lmhosts wins
dns proxy = No
wins support = Yes
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[video]
path = /srv/video
valid users = leon friend
write list = root leon friend
[music]
path = /srv/music
valid users = leon friend
write list = root friend leon
guest ok = Yes
access based share enum = Yes
[other]
path = /srv/other
valid users = leon friend
write list = root leon friend
Someone help me please.