Skip to content

Commit

Permalink
networkbrowser: use sec=ntlmssp mount option for cifs
Browse files Browse the repository at this point in the history
This works with Windows 10 and SAMBA and is the default since
Linux 3.8. Some kind of autodetection would be better, though.
  • Loading branch information
mtdcr committed Jan 3, 2017
1 parent 4a3fe0e commit 631731c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion networkbrowser/src/AutoMount.py
Expand Up @@ -132,7 +132,7 @@ def _applyShare(self, data, callback):
])
else:
opts.extend(['guest'])
opts.extend(['sec=ntlmv2'])
opts.extend(['sec=ntlmssp'])
remote = "//%s/%s" % (data['ip'], tmpsharedir)
harddiskmanager.modifyFstabEntry(remote, mountpoint, mode="add_deactivated", extopts=opts, fstype="cifs")
else:
Expand Down

0 comments on commit 631731c

Please sign in to comment.