Samba help for someone who is mostly clueless...

It's samba419 on FreeBSD 14.2, the config /usr/local/etc/smb4.conf is

Code:
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
netbios name = ExampleMachine
wins support = Yes
security = user
passdb backend = tdbsam
smb ports = ****

# Example: share /usr/src accessible only to 'developer' user
[USERNAME]
path = /home/USERNAME
valid users = USERNAME
writable  = yes
browsable = yes
read only = no
guest ok = no
public = no
create mask = 0666
directory mask = 0755

[mnt]
path = /mnt
valid users = USERNAME
writable  = no
browsable = yes
read only = yes
guest ok = no
public = no
create mask = 0666
directory mask = 0755

If you get an Android phone and FreeBSD under the same local network, you can install Cx File Explorer on the phone and access the samba server for test.

And open the smb port if a firewall is setup.
 
Back
Top