summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/sambashare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/sambashare.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/sambashare.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/sambashare.cpp b/filesharing/advanced/kcm_sambaconf/sambashare.cpp
index b30d7db7..6627d761 100644
--- a/filesharing/advanced/kcm_sambaconf/sambashare.cpp
+++ b/filesharing/advanced/kcm_sambaconf/sambashare.cpp
@@ -128,6 +128,11 @@ QString SambaShare::getGlobalValue(const QString & name, bool defaultValue)
**/
QString SambaShare::getSynonym(const QString & name) const
{
+
+ // idmap config is an exception and shouldn't be set to lower
+ QString sname = name.left(12).stripWhiteSpace();
+ if ( sname == "idmap config" ) return name;
+
QString lname = name.lower().stripWhiteSpace();
if (lname == "browsable") return "browseable";