Hi,
Able to access the SMB shares using the osmc user. All the shares are visible and usable using the “osmc” user.
Now, would like to do two things, 1) Setup a public folder, which anyone is able to login without any user/ pwd. and 2) Add a guest user with read only access to some of the folders.
Tried to add a guest user, and added it to the smb.
sudo useradd guestuser m -G users
sudo passwd guestuser
sudo smbpasswd -a guestuser
Below is what the smb.conf file.
osmc@osmc:/etc/samba$ cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
usershare allow guests = yes
#security=share
security=user
follow symlinks = yes
wide links = no
unix extensions = no
lock directory = /var/cache/samba
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log level = 1
[osmc_home]
browsable = yes
read only = no
valid users = osmc
path = /home/osmc
[public]
browsable = yes
read only = no
valid users = guestuser
path = /media/wdHddRishi/Data/share/
I see all the shares in the network, but able to login only to osmc_home using the osmc user. Any help would be appreciated.
FYI - Using the RPi2 RC and installed smb from the app store.