Searched and searched, tried every article that has that statement in it, all to no avail…
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[global]
workgroup = SOPRANOS
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
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 = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[shares]
comment = samba on Suse
path = /home/pauly/sambashare
public = yes
writable = yes
read only = No
browsable = No
Got that from another article. I thought it was pointless, because it’s my documents I want to share, but in an effort to learn, I thought it best to follow the instructions exactly.
Okay, please re-clarify which directory you are trying to present as a samba usershare. For example, if I was sharing my Pictures directory, the permissions for sharing would look like
~> ls -ld /home/dean/Pictures
drwxr-xrwx 4 dean users 4096 Apr 28 10:59 /home/dean/Pictures
~> ls -ld /var/lib/samba/usershares
drwxrwx--T 2 root sambashare 4096 May 6 11:45 /var/lib/samba/usershares
Also
~> net usershare list
Pictures
~> net usershare info
[Pictures]
path=/home/dean/Pictures
comment=
usershare_acl=Everyone:F,LINUX-LPTP1\dean:F,Unix User\test:F,
guest_ok=n