no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


tech:linux:mount_samba_linux_share [2014/11/15 15:13] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Mounting Linux (Ubuntu) Shares in Windows (7) ======
 +Allowing a directory in Linux to be accessible in Windows. Let's assume the Linux box is called ulin1
 +===== Initial steps =====
 +  * First choose the Linux Directory to mount. In this case it is /xyvol/
 +  * Change the file permissions on this volume to be 770 and group to be root:<your user id>
 +===== Config file changes =====
 +Typically the Samba config file is at: /etc/samba/smb.conf\\
 +Add a section at the end as follows:
 +<code>
 +[mycow]
 +   comment = XY File share to Windows
 +   path = /xyvol
 +   writeable = Yes
 +</code>
 +
 +Where mycow is the share
 +
 +===== Connecting =====
 +Now in Windows just point file explorer to \\ulin1\mycow and enter your (linux non root user) user-id and password.  Now I don't remember if I had previously setup the samba password or not. If it does not work see if running smbpasswd helps
 +
 +===== Other considerations =====
 +  * smbstatus - gives you status of your connections
 +  * On Windows, "net use * /d" will allow you to disconnect the connected samba share (ref: search for "Windows disconnect from Samba share" in ubuntuforums)
 +  * Use the /var/log/samba for log files that will point you to any issues with Samba connection
 +
  

QR Code
QR Code tech:linux:mount_samba_linux_share (generated for current page)