Answer the question
In order to leave comments, you need to log in
Why can't I set up Samba on a banana pi (raspberry pi)?
Good afternoon. I've been struggling with the samba setup for several days now. I tried a bunch of articles and cofigs. I have a USB HDD connected to the banana pi, I need to set up folder sharing. But when you enter the folder from a Win or Nix machine, it asks for a password. Here is the last config that remains. Samba version 3.6.6
[global]
cups options = raw
netbios name = bananapi
default = 1Tb
idmap config * : backend = tdb
workgroup = SMARTHOME
guest ok = Yes
os level = 20
map to guest = Bad User
[1Tb]
path = /media/USBDATA1TB/DATA
read only = No
[global]
workgroup = SMARTHOME
netbios name = LenovoG650
security = user
map to guest = bad user
name resolve order = bcast host
dns proxy = no
[Share]
path = //media/username/Data/Shara
guest only = yes
public = yes
writeable = yes
browsable = yes
Answer the question
In order to leave comments, you need to log in
instead of
security = user
, put
security = share
if not specified - specify explicitly
And just in case, specify hosts allow = 10.10.0 in the header. 127.
10.10.0 replace with your own. local network for example 192.168.0. - this will allow access to all hosts from the network 192.168.0.0/24
and duplicate it in the folder description
Figured it out, added security = user and guest account = username
[global]
workgroup = SMARTHOME
netbios name = BananaPI
security = user
map to guest = bad user
name resolve order = bcast host
dns proxy = no
cups options = raw
idmap config * : backend = tdb
guest ok=yes
os level=20
security=share
hosts allow=192.168.1.
guest account = username
[1Tb]
path = /media/USBDATA1TB/DATA
guest only = yes
public = yes
writeable = yes
browsable = yes
hosts allow = 192.168.1.
Thanks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question