Maybe this works (didn't test it..)
Subject: [PATCH] networkbrowser: use rw,nolock,sec=ntlm as cifs defaults
mount options
http://forums.openpli.org/topic/36360-vu-duo-update/page-2#entry466557
diff --git a/networkbrowser/src/AutoMount.py b/networkbrowser/src/AutoMount.py
index f6f7830..27a38ec 100644
--- a/networkbrowser/src/AutoMount.py
+++ b/networkbrowser/src/AutoMount.py
@@ -84,7 +84,7 @@ class AutoMount():
data['ip'] = getValue(mount.findall("ip"), "192.168.0.0").encode("UTF-8")
data['sharedir'] = getValue(mount.findall("sharedir"), "/exports/").encode("UTF-8")
data['sharename'] = getValue(mount.findall("sharename"), "MEDIA").encode("UTF-8")
- data['options'] = getValue(mount.findall("options"), "rw,nolock").encode("UTF-8")
+ data['options'] = getValue(mount.findall("options"), "rw,nolock,sec=ntlm").encode("UTF-8")
data['username'] = getValue(mount.findall("username"), "guest").encode("UTF-8")
data['password'] = getValue(mount.findall("password"), "").encode("UTF-8")
self.automounts[data['sharename']] = data
diff --git a/networkbrowser/src/MountEdit.py b/networkbrowser/src/MountEdit.py
index eeba2c4..fc4fead 100644
--- a/networkbrowser/src/MountEdit.py
+++ b/networkbrowser/src/MountEdit.py
@@ -150,6 +150,8 @@ class AutoMountEdit(Screen, ConfigListScreen):
sharedir = "/export/hdd"
if mounttype == "nfs":
defaultOptions = "rw,nolock,soft"
+ elif mounttype == "cifs":
+ defaultOptions = "rw,nolock,sec=ntlm"
else:
defaultOptions = "rw"
if username is False:
@@ -185,7 +187,7 @@ class AutoMountEdit(Screen, ConfigListScreen):
self.list.append(self.hdd_replacementEntry)
if self.optionsConfigEntry.value == self.optionsConfigEntry.default:
if self.mounttypeConfigEntry.value == "cifs":
- self.optionsConfigEntry = NoSave(ConfigText(default = "rw", visible_width = 50, fixed_size = False))
+ self.optionsConfigEntry = NoSave(ConfigText(default = "rw,nolock,sec=ntlm", visible_width = 50, fixed_size = False))
else:
self.optionsConfigEntry = NoSave(ConfigText(default = "rw,nolock,soft", visible_width = 50, fixed_size = False))
self.optionsEntry = getConfigListEntry(_("Mount options"), self.optionsConfigEntry)
diff --git a/networkbrowser/src/NetworkBrowser.py b/networkbrowser/src/NetworkBrowser.py
index ae12503..f1225d0 100644
--- a/networkbrowser/src/NetworkBrowser.py
+++ b/networkbrowser/src/NetworkBrowser.py
@@ -454,7 +454,7 @@ class NetworkBrowser(Screen):
data['ip'] = selection[2]
data['sharename'] = selection[3] + "@" + selection[1]
data['sharedir'] = selection[3]
- data['options'] = "rw"
+ data['options'] = "rw,nolock,sec=ntlm"
self.sharecache_file = None
self.sharecache_file = '/etc/enigma2/' + selection[1].strip() + '.cache' #Path to cache directory
if os_path.exists(self.sharecache_file):
--
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916