Samba Shares are not visible

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
bradnag
Posts: 23
Joined: 1. Nov 2022, 23:38

Samba Shares are not visible

Post by bradnag »

Samba Ver: 4.15.11

Defined [share] in smb.conf. NT1 min protocol for client and server.
Thunar can't share due errors.
host (salix) can't see any share. From other machine (Ubuntu) share is visible but empty

smbclient -L localhost shows shares
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Samba Shares are not visible

Post by djemos »

type this on address bar on thunar
smb://user_name:password@machine-network_ip/share
(user_name:password is the user_name and password for user in the share machine)
e.g. if share is /tmp and user name is djemos and password is some_pass and 192.168.2.210 is the machine network ip
smb://djemos:some_pass@192.168.2.210/tmp

my global settings in smb.conf

Code: Select all

server role = standalone server
   client min protocol = NT1
   min protocol = LANMAN2
   client max protocol = SMB3_11
   load printers = yes
   guest ok=yes
   security = user
   map to guest = Bad User
   usershare allow guests = yes
   cups options = raw
   printing = cups
   printcap name = cups

e.g. How to share /tmp

Code: Select all

# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
bradnag
Posts: 23
Joined: 1. Nov 2022, 23:38

Re: Samba Shares are not visible

Post by bradnag »

Great! Thanks djemos. Even I entered password, an authentication popped-up and then allowed me access to share resources. This only first time. I forgot to mention when I started samba configuration I added smbpasswd -a username and my user belong to newly created sambashare

...
server min protocol = NT1
client min protocol = NT1
...
usershare path = /var/lib/samba/usershares
usershare max shares = 10
usershare allow guests = yes
usershare owner only = yes
...
[Documents]
path = /home/brad/Documents
available = yes
valid users = brad
read only = no
browsable = yes
public = yes
writable = yes
only guest = no
create mode = 664
directory mode = 775
Post Reply