Jeff Gaines wrote:
I have had a frustrating day trying to get SMB working so I can share my newly added drive. Most of the instructions I have found say "right click on the drive/directory and select sharing", that option isn't available in any of the file managers I
have.
I followed though some very clear instructions I found, I think to the letter, but I still can't see the share from this Ubuntu laptop.
I will have another go tomorrow but is there any simple diagnostic I can run that will show whether I have set up samba properly?
It's basically down to one text config file /etc/samba/smb.conf for my distro (fedora)
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
[mybigshare]
comment = Big Share Directory
path = /mnt/samba/bigshare
read only = no
guest only = no
guest ok = no
share modes = yes
directory mask = 0775
Adjust share name and path to suit yourself, add more sections if you want different share for differnt stuff, probably need to use a command line utility to add user+pass to the tdbsam file, I suspect the "share modes=yes" line is a mistake as the daemon whines about it, make sure your firewall allows the relevant UDP/TCP ports in.
That's it.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)