You are not logged in.
My ultimate goal is to have a shared folder that can be accessed (read) by all computers on the LAN without requiring any login information at all.
This is my smb.conf:
[global]
map to guest = Bad User
log file = /var/log/samba/%m
log level = 1
netbios name = HOSTNAME
[guest]
# This share allows anonymous (guest) access
# without authentication!
path = /home/USERNAME/Public/
read only = no
guest ok = yes
Where HOSTNAME is my computer's hostname and USERNAME is my username. I tried this also without the netbios line.
I am able to login using whatever credentials using smbclient (on the same system as the server), but I get this error:
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
Any ideas?
iptables is not running:
● iptables.service - IPv4 Packet Filtering Framework
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Edit:
/var/log/samba/HOSTNAME is full of these messages:
[TIMESTAMP, 0] ../source3/smbd/uid.c:386(change_to_user_internal)
change_to_user_internal: chdir_current_service() failed!
Last edited by CarbonFixer (2019-01-05 00:39:20)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Sorry. Fixed.
Offline
You probably don't want to use a folder in your HOME dir for this, or if you do, have you made sure that it is read/write (and executable for directory access) to the user starting the samba daemon?
Offline