This one has me stumped.
I'm getting a share presented to me with the same name as the user, there's no folder underneath, and I don't have a [homes] section in smb.conf.
I have Samba 4.10.4 installed on a raspberry pi running Raspbian 9. It's intended to be a basic server - standalone. No AD DC. I'm using a Mac to connect to the the share - macOS Mojave. Intent is to provide a backup for Time Machine.
Everything works. Time Machine backs up. I just get this folder, see attachment, which is bugging me. The raspberry pi shows up in Finder. Click on the machine and Connect As ... with the username name timemachine and its password. tm_prime is the share Time Machine backs up to. Double click timemachine and Finder throws an error - as you would expect. Check out the smb.conf below.
Any suggestions to debug this one?
Seems Samba auto provisions a user share even if no [Homes] is called out in smb.conf.
[Global] # basic samba configuration min protocol = SMB2 server role = standalone security = user ea support = yes vfs objects = catia fruit streams_xattr fruit:aapl = yes readdir_attr:aapl_rsize = yes readdir_attr:aapl_finder_info = yes readdir_attr:aapl_max_access = yes fruit:nfs_aces = yes fruit:copyfile= yes fruit:metadata = netatalk fruit:resource = file fruit:locking = none fruit:encoding = private unix extensions = yes fruit:model = MacSamba spotlight = no smb2 max read = 8388608 smb2 max write = 8388608 smb2 max trans = 8388608 smb2 leases = yes aio read size = 1 aio write size = 1 kernel oplocks = no use sendfile = yes strict sync = yes sync always = no delete veto files = true fruit:posix_rename = yes fruit:veto_appledouble = yes fruit:zero_file_id = yes fruit:wipe_intentionally_left_blank_rfork = yes fruit:delete_empty_adfiles = yes su disable netbios = yes dns proxy = no smb ports = 445 name resolve order = host bcast log file = /usr/local/samba/var/%m.log log level = 2 max log size = 1000 [tm_prime] # time machine configuration path = /media/tm_prime valid users = @timemachine vfs objects = catia fruit streams_xattr fruit:time machine = yes strict sync = yes spotlight = no writeable = yes browseable = no