Answer the question
In order to leave comments, you need to log in
How to debug a Samba server?
Greetings!
There is a samba server on Ubuntu with the following config:
[global]
workgroup = WORKGROUP
netbios name = ubuntu
security = user
map to guest = Bad User
usershare owner only = false
usershare allow guests = yes
dns proxy = no
server string = %h server (Samba, Ubuntu)
log level = 10
log file = /home/mik/shared/log.%m
max log size = 1000
logging = file
server role = standalone server
obey pam restrictions = yes
[/home/mik/shared]
path = /home/mik/shared
browseable = yes
guest ok = yes
read only = no
vfs objects = full_audit
Answer the question
In order to leave comments, you need to log in
I had the same issue. This is because the version of the SMB protocol that the client is using is lower than the version of the server. The problem appears only when the guest access.
Try: add UNIX user, add SAMBA user and restart smbd.service.
Example:
sudo smbpasswd -a nobody
sudo smbpasswd -e nobody
sudo systemctl restart smbd.service
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question