https://bugs.kde.org/show_bug.cgi?id=463067
Bug ID: 463067 Summary: The plugin doesn't see already created Samba users when trying to create a share Classification: Frameworks and Libraries Product: kdenetwork-filesharing Version: unspecified Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: schm0...@web.de CC: sit...@kde.org Target Milestone: --- When trying to create a share via Dolphin with the help of the kdenetwork-filesharing plugin, it asks for creating/setting a Samba user/password, despite a Samba user is already present. How it looks: https://i.imgur.com/E9au5N7.png https://i.imgur.com/4LXkdcV.png https://i.imgur.com/wdRONLK.png STEPS TO REPRODUCE 1. install kdenetwork-filesharing plugin 2. install samba-usershares package 3. add your user to the group "usershares", which was created via the "samba-usershares" package 4. create a Samba user for your Linux user and set a password 5. restart 6. create a directory in your home directory 7. set the right SELinux context for the share sudo semanage fcontext --add --type "samba_share_t" "/home/my_user_name/name_of_directory(/.*)?" sudo restorecon -R ~/name_of_directory 8. open properties of the directory. Go to "Share" tab OBSERVED RESULT There is a button to create/set a Samba user/password, despite a Samba user beeing already present. EXPECTED RESULT It should not ask for this if a Samba user is already present. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 37 KDE Spin , everything is up to date ADDITIONAL INFORMATION As seen here https://bugzilla.redhat.com/show_bug.cgi?id=2096405 and here https://pagure.io/fedora-kde/SIG/issue/109 there exists a "samba-usershares" package in the Fedora repo which creates the directory "/var/lib/samba/usershares" and a "/etc/samba/usershares.conf" file. The "/etc/samba/smb.conf" file has the following line: https://i.imgur.com/93FYiaj.png which includes, as I understand, the additional configuration from "/etc/samba/usershares.conf", created by the samba-usershares package. The "/etc/samba/usershares.conf" file holds this: https://i.imgur.com/Sr87uKz.png -- You are receiving this mail because: You are watching all bug changes.