Hi Morbius1,
Yes, I've found those links, and a couple of rabbit hole branches off of them. But they are very old, so I can't believe that the issue would still exist.
However, I think you may be onto the answer!
My previous 'server', with network shares that worked fine, was a Xubuntu instal.
My new 'server' is a standard Ubuntu (desktop) instal.
The two commands that you listed do indeed suggest that things are being duplicated.
HTML Code:
-$ testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
unix password sync = Yes
usershare allow guests = Yes
workgroup = SHARE
idmap config * : backend = tdb
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[share1]
comment = share1 on Server
create mask = 0660
directory mask = 0770
path = /share1
read only = No
valid users = @share
[share2-diff]
comment = share2 on Server
create mask = 0660
directory mask = 0770
path = /share2
read only = No
valid users = @share
[share3]
path = /share3
read only = No
valid users = share david
[share4-diff]
path = /share4
read only = No
valid users = share david
And
HTML Code:
~$ net usershare info --long
[share2]
path=/share2
comment=
usershare_acl=Everyone:R,Unix User\root:F,
guest_ok=n
[share4]
path=/share4
comment=
usershare_acl=Everyone:R,Unix User\root:F,
guest_ok=n
[share3]
path=/share3
comment=
usershare_acl=Everyone:R,Unix User\root:F,
guest_ok=n
[share1]
path=/share1
comment=
usershare_acl=Everyone:R,Unix User\root:F,
guest_ok=n
So, I guess the next step is to get rid of those 'usershare' shares.
How can I do that?
If I open Nautilus, find one of the folders and right click on it, it looks like it's not being shared.
I don't remember trying to set up shares in any way other than via smb.conf, but I'm quite prepared to believe that I did. I tend to go the GUI route if I can (which is why I'm running desktop Ubuntu on my server).
Thanks again for the smart remote detective work, Morbius1. Hopefully we're on the right track.
PS I know that the blocks above are not HTML, but they wouldn't display correctly when I selected CODE tags.
Bookmarks