Commit 147ecc69 authored by Nate Graham's avatar Nate Graham
Browse files

Don't require that the samba shares group has "samba" in it

In principle this group could have any name at all. On some distros it's
"sambashare" but on others I'm familiar with, it's "usershare". Checking
to make sure that the group name isn't "root" is sensible, but beyond
that, we don't gain anything by being picky about this, and instead just
have the potential to add roadblocks to the initial setup. Let's not.


(cherry picked from commit ab7407cb)
parent fe6b4824
Pipeline #212043 passed with stage
in 34 seconds
......@@ -45,7 +45,7 @@ GroupManager::GroupManager(QObject *parent)
m_targetGroup = info.group();
Q_EMIT targetGroupChanged();
if (m_targetGroup != QLatin1String("root") && m_targetGroup.contains(QLatin1String("samba"))) {
if (m_targetGroup != QLatin1String("root")) {
m_canMakeMember = true;
Q_EMIT canMakeMemberChanged();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment