https://bugs.kde.org/show_bug.cgi?id=425203

            Bug ID: 425203
           Summary: If guest access to Samba shares is globally disabled,
                    either warn the user ahead of time or prompt to turn
                    it on
           Product: kdenetwork-filesharing
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: n...@kde.org
          Reporter: n...@kde.org
  Target Milestone: ---

On openSUSE, apparently guest access for Samba shares is globally disabled by
default. As a result, if you attempt to enable guest access for a samba share
you're creating, it will currently just fail silently. With
https://invent.kde.org/network/kdenetwork-filesharing/-/merge_requests/2
applied, you will see an appropriate though still fairly cryptic error message:

net usershare add: guest_ok=y requested but the "usershare allow guests"
parameter is not enabled by this server.

This is much better than nothing, but it would be even better if it could warn
you ahead of time, potentially even inline, when you click on the checkbox to
enable guest access.

For bonus points, it could even prompt you to turn on guest access globally,
which as far as I can tell involves the following change to smb.conf:

diff samba_working.conf samba_broken.conf 
15c15
<       usershare allow guests = Yes
---
>       usershare allow guests = No

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to