I’ve been trying for days and have been impossible.

All I get is not enough permission to access share from client

`testparm

Load smb config files from /etc/samba/smb.conf

Loaded services file OK.

Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

Global parameters

[global]

printcap name = cups

security = USER

usershare allow guests = Yes

usershare max shares = 100

workgroup = SAMBA

idmap config * : backend = tdb

cups options = raw

[homes]

browseable = No

comment = Home Directories

inherit acls = Yes

read only = No

valid users = %S %D%w%S

[printers]

browseable = No

comment = All Printers

create mask = 0600

path = /var/tmp

printable = Yes

[print$]

comment = Printer Drivers

create mask = 0664

directory mask = 0775

force group = @printadmin

path = /var/lib/samba/drivers

write list = @printadmin root

[Drive]

guest ok = Yes

path = /var/home/htpc/Drive

read only = No

valid users = htpc`

  • slabber@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    Have you created the samba password for your user?

    Try

    sudo smbpasswd -a username

  • Leaflet@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    I’ve never been able to get the “Sharing” thing working in Gnome. I think that’s a Samba share.

    • TRBeach@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      FWIW…

      My 2 cents. I tried and tried to make samba work. Finally, I saw a post from someone that said, “samba is for windows, SSH is for Linux”. Best post I ever read. SSH for me ever since.

      The first thing I do after install is uninstall samba.

      Happy days ever since.

    • just_another_person@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      This is the most convoluted use of basic services I’ve ever seen just to make Samba work 😂😂😂

      Y’know, there’s a MUCH simpler way to make this work by just using a regular distribution without these limitations.

      • Telorand@reddthat.com
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        What you call a limitation is a way to ensure uptime. Yes, it sometimes involves unique ways of solving problems, but that doesn’t mean going with a traditional mutable system is the best option for people’s needs.

        I have Bazzite on a shared laptop, and knowing that the people who will use it won’t have to worry about fucking up the system with a bad update is great peace of mind.

          • Telorand@reddthat.com
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            3 days ago

            Lucky you? I can’t say the same.

            Regardless, OP didn’t ask if they should just switch, they asked how to solve their problem. They can decide for themselves if they want to try to use containers or just install traditional Fedora.