Changes

Windows network share integration for linux

685 bytes added, 21:48, 3 June 2015
/* Persistent Mount in fstab */
The following lines were added (+) and removed (-):
The above example comes from our Mythbuntu configuration page.  As you can see, besides the problem with all system users having access to the share as the one specific network user, that network username and password are exposed in this public readable file.  Any user of the desktop now knows the username and password of the windows share owner.The above example comes from our Mythbuntu configuration page.  As you can see, besides the problem with all system users having access to the share as the one specific network user, that network username and password are exposed in this public readable file.  Any user of the desktop now knows the username and password of the windows share owner.  /etc/fstab is readable by everyone and so is your Windows password in it. Another problem with the Mythbuntu example above is that you will not have write permissions to the mounted shares.  To have write permissions it is necessary to specify the UID.  We also should specify the workgroup name to speed up the process.  //athena/public/ /mnt/public cifs domain=workgroup,username=nicole,password=mythtv,uid=1001,iocharset=utf8,sec=ntlm 0 0 //athena/media/ /mnt/media cifs domain=workgroup,username=nicole,password=mythtv,uid=1001,iocharset=utf8,sec=ntlm 0 0 Lets assume our workgroup/domain name is "workgroup".  Nicole now has the ability to both read and write to the shares.
Bureaucrat, administrator
16,192
edits