First step, set up a linux user and a Windows logon that match.

Viewing Windows shares from linux
Type the following (eventually set it up to run on boot):



mount -t smbfs //sharename/c /mnt/sharename_c -o username=### -orw -ofmask=777 -odmask=777 -ouid=www
(### = your Windows/linux logon name)

Viewing linux partitions from Windows
Set up /etc/samba/smb.cnf as follow
then run [/etc/rc.d/init.d/smb restart]



workgroup = #### (set to match Windows PC’s)
hosts allow = 192.168.###. (### = your LAN’s range)
[root]
comment = root path
path = /
public = yes
writable = yes
printable = no
write list = @### (### = your Windows/linux logon name)
create mask = 0755

Leave a Reply