I use the browse shares, but the contents of the FSG3 always appear empty. I can mount the share manually, by typing:
smb://media/sharenameBut I can't browse all of the shares. On looking at the smb.conf file (which is located on the FSG3 in the /usr/local/samba/lib directory, it is clear that it doesn't actualy have any specified ones (unless you are the administrator).
I have therefore modified the /usr/local/samba/lib/smb.conf file to include a 'HOME' section, as shown below.
[global]Following this update, the server is re-started:
workgroup=LOCAL
netbios name=media
server string=Freecom StorageGateway
security=user
encrypt passwords=Yes
null passwords=Yes
admin users=admin
disable spoolss=Yes
max log size=50
socket options=TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
use mmap=Yes
use sendfile=Yes
lock directory=/ramdisk/samba
[FSG]
comment=Admin access to entire disk
path=/home
writeable=Yes
browseable=No
valid users=admin
create mode=0666
directory mode=0777
[HOME]
comment=Home directories
path=/home
writeable=Yes
browseable=Yes
create mode=0664
directory mode=0775
/etc/init.d/samba stopI can now browse to smb://media/home, and see all of the user areas. Note that unix file and directory permissions still apply, and that you have to be logged in as the correct user, and be in the correct group.
/etc/init.d/samba start
No comments:
Post a Comment