Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37704575
en ru br
ALT Linux repos
S:23.04.3-alt2

Group :: Graphical desktop/KDE
RPM: kde5-network-filesharing

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-share-group.patch
Download


--- a/samba/filepropertiesplugin/authhelper.cpp
+++ b/samba/filepropertiesplugin/authhelper.cpp
@@ -88,7 +88,7 @@ ActionReply AuthHelper::addtogroup(const
     // TODO: add ability to resolve remote UID via KAuth and verify the request (or even reduce the arguments down to
     //    only the group and resolve the UID)
     // Keep this condition in sync with the one in groupmanager.cpp
-    if (!group.contains(QLatin1String("samba")) || group.contains(QLatin1String("admin")) ||
+    if (!group.contains(QLatin1String("share")) || group.contains(QLatin1String("admin")) ||
         group.contains(QLatin1String("root"))) {
         return ActionReply::HelperErrorReply();
     }
--- a/samba/filepropertiesplugin/groupmanager.cpp
+++ b/samba/filepropertiesplugin/groupmanager.cpp
@@ -55,7 +55,7 @@ GroupManager::GroupManager(QObject *pare
 
             // Now see if the group is set to something valid
             // Keep this condition in sync with the one in authhelper.cpp
-            else if (!m_targetGroup.contains(QLatin1String("samba"))
+            else if (!m_targetGroup.contains(QLatin1String("share"))
                      || m_targetGroup.contains(QLatin1String("admin"))
                      || m_targetGroup.contains(QLatin1String("root"))
                     ) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin