Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37856398
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-max-domain-uid.patch
Download


--- a/samba/filepropertiesplugin/usermanager.cpp
+++ b/samba/filepropertiesplugin/usermanager.cpp
@@ -51,9 +51,12 @@ static QStringList getUsersList()
         }
         KUser user(username);
         const uid_t nativeId = user.userId().nativeId();
-        if (nativeId >= defminuid && nativeId <= defmaxuid) {
+        if (nativeId >= defminuid) {
             userList << username;
         }
+        if (userList.size() >= defmaxuid) {
+            break;
+        }
     }
 
     return userList;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin