Announcement

Collapse
No announcement yet.

Samba frustration

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Samba frustration

    Hi all, I'm running Kubuntu 22.04 on 2 PC's both connected over gigabit LAN to a router. I need to copy some files from one to the other (a few hundred GB from several folders). On the host machine I've navigated in Dolphin to a folder I want to share, set it up for sharing (including guests), and within a short time it was available to browse from the remote machine - so thinking everything was peachy I copied the files I wanted from that folder, then went back to the host machine to share several more folders for copying, but arriving back at the remote machine I'm suddenly unable to browse any shares, let alone the first one I setup. On the host I changed absolutely nothing in smb.conf, the shares are shown in /var/lib/samba/usershares and the syntax in each is identical apart from the location and share name.

    My goal is just to have shared folders available to copy stuff across my home gigabit LAN, nothing more complicated than that.

    The syntax in each of the usershare files is as follows....

    version 2
    path=/home/chris/path/to/folder
    comment=
    usershare_acl=5-1-1-0:r
    guest_ok=y
    sharename=Name

    Other than the path and name, each of the several I setup is identical.

    Confused? I am! I've not touched /etc/smb.conf or done anything barring install samba on both PC's, and use Dolphin to add sharing to some folders on the host, and navigate to the shared folder on the remote one. Why it worked when I setup the first one, but not after when I added a few more, is completely beyond me. Anything I can check to begin working this out?

    Regards,
    Chris W, New Zealand

    #2
    Maybe try following this:

    https://unix.stackexchange.com/quest...in-kde-dolphin

    Please Read Me

    Comment


      #3
      …but beware that there are typos (in the otherwise good instructions) - it should be:
      sudo systemctl restart smbd.service
      sudo systemctl restart nmbd.service
      Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
      Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

      get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
      install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

      Comment


      • oshunluvr
        oshunluvr commented
        Editing a comment
        That's a good catch. You should probably make a comment on that page!
    Working...
    X