This share:
[homes]
comment = Home Directories
writeable = yes
valid users = %S,%D%w%S
inherit acls = Yes
is accessible from windows on the address \opensusename\willem. You might not see it in the network browser of windows (can’t quite remember) so type the address in full. Once you’ve logged in it might show later. Substitute the openSUSE machine’s netbios name for “opensusename”. The name you want is what you see for the computer in the windows browser.
This share:
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
is the directory /home but that belongs to user=root, group=root, so you’ll probably never log onto it, just get rejected. You should either (a) edit smb.conf and delete the code for it or (b) make it accessible by altering the stanza in smb.conf for [users] and/or the permissions on /home (bad idea).
This share:
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
is meant for use with domains but you have a workgroup (called “WORKGROUP” according to the code that I see) so you should delete the stanza for [profiles] from smb.conf.
This share:
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
is broadcasting a directory (/home/groups) that doesn’t exist (unless you made it yourself) so you should delete it from smb.conf.
The Samba config file smb.conf has some [global] definitions in it that are a bit wonky. I recommend that you replace the [global] stanza with this version:
[global]
workgroup = WORKGROUP
netbios name = name_of_this_workstation
passdb backend = tdbsam
name resolve order = bcast host lmhosts wins
server string = ""
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
use client driver = yes
map to guest = Bad User
local master = yes
preferred master = yes
os level = 65
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False
replace “name_of_this_workstation” with some appropriate netbios name for the openSUSE server (what you’d like to see in the windows browser).
I don’t know how to edit the smb.conf file in webmin. I only know the easy way with a text editor (a bit like using wordpad in windows). If you want to do it the easy way, these commands will open smb.conf for you:
- KDE users use this: kdesu kwrite /etc/samba/smb.conf
- Gnome users use this: gnomesu gedit /etc/samba/smb.conf
You’d need a reboot or two after these alterations if you choose to make them.
FFI here is a primer for Samba: Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 11.x