I have a server running ubuntu 16.04. Attached to the same subnet there are 2 machines running Win10PRO. Thoo machines need to be able to "see" the server and it's files. Samba is running but, for the life of me, I can't evn get to see the server from my Win10 desktop. I simply need to map the server root to a drive on my desktop with 777 permission, nothing more I've appended smb.conf. This really is dri9ving me up the damn wall! Thatnks for your help. Start smb.conf >>> [global] map to guest = bad user netbios name = Labrador usershare allow guests = yes syslog = 0 log file = /var/log/samba/log.%m os level = 20 passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . passwd program = /usr/bin/passwd %u server role = standalone server max log size = 1000 default = rootdir workgroup = BUGEYE panic action = /usr/share/samba/panic-action %d dns proxy = no pam password change = yes passdb backend = tdbsam server string = %h server (Samba, Ubuntu) obey pam restrictions = yes unix password sync = yes # wins support = no # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # This will prevent nmbd to search for NetBIOS names through DNS. #### Networking #### ; interfaces = 127.0.0.0/8 eth0 ; bind interfaces only = yes # syslog only = no ####### Authentication ####### # Server role. Defines in which mode Samba will operate. Possible # values are "standalone server", "member server", "classic primary # domain controller", "classic backup domain controller", "active # directory domain controller". # # Most people will want "standalone sever" or "member server". # Running as "active directory domain controller" will require first # running "samba-tool domain provision" to wipe databases and create a # new domain. # If you are using encrypted passwords, Samba will need to know what # password database type you are using. # This boolean parameter controls whether Samba attempts to sync the Unix # password with the SMB password when the encrypted SMB password in the # passdb is changed. # For Unix password sync to work on a Debian GNU/Linux system, the following # parameters must be set (thanks to Ian Kahan <<[email protected]> for # sending the correct chat script for the passwd program in Debian Sarge). # This boolean controls whether PAM will be used for password changes # when requested by an SMB client instead of the program listed in # 'passwd program'. The default is 'no'. # This option controls how unsuccessful authentication attempts are mapped # to anonymous connections ########## Domains ########### # # The following settings only takes effect if 'server role = primary # classic domain controller', 'server role = backup domain controller' # or 'domain logons' is set # ; logon path = \\%N\profiles\%U # logon path = \\%N\%U\profile ; logon drive = H: # logon home = \\%N\%U ; logon script = logon.cmd ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u ; add group script = /usr/sbin/addgroup --force-badname %g ############ Misc ############ ; include = /home/samba/etc/smb.conf.%m ; idmap uid = 10000-20000 ; idmap gid = 10000-20000 ; template shell = /bin/bash ; usershare max shares = 100 # Allow users who've been granted usershare privileges to create # public shares, not just authenticated ones #======================= Share Definitions ======================= ;[homes] ; comment = Home Directories ; browseable = no ; read only = yes ; create mask = 0700 ; directory mask = 0700 ; valid users = %S ;[netlogon] ; comment = Network Logon Service ; path = /home/samba/netlogon ; guest ok = yes ; read only = yes ;[profiles] ; comment = Users profiles ; path = /home/samba/profiles ; guest ok = no ; browseable = no ; create mask = 0600 ; directory mask = 0700 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no ; write list = root, @lpadmin [rootdir] create mode = 777 path = / write list = pig,root,simon valid users = root,simon,pig directory mode = 777 writeable = yes [homes] path = /root <<< End smb.conf
I have been able to solve problems with Samba following the "Troubleshooting Samba" instructions: https://www.samba.org/samba/docs/using_samba/ch12.html If that fails, Internet search engines found these specifically about Win 10 not showing shares when browsing. https://answers.microsoft.com/en-us...problems/f9b6d62d-839f-49a4-8fe9-7becc01aa911 https://www.tenforums.com/network-sharing/31136-samba-shares-dont-show-up-windows-10-network.html