Bubba Bob Posted June 5, 2007 Report Share Posted June 5, 2007 Alright, Ive got a Windows (XP) and Linux (Mandriva) boxes hooked to the same router. I need them to talk to each other so I can share files and printers. But so far they are at a stand off. I think the Windows machine called the penguin fat and ugly and it went down hill from there. Anyway... I searched google and couldnt find a "For Idiots" guide that I completly understood Im new to Linux, onyl tinkered around with it before. Now, I understand I need Samba? So, I installed Samba... and.... dont know where it went. Unlike Windows there is no nice little shortcut on my desktop, so Im lost. Can someone give me a hint of where to go from here to get these computers network together?Thanks!Bubba Quote Link to post Share on other sites
iccaros Posted June 5, 2007 Report Share Posted June 5, 2007 for SAMBA you have to configure your SMB.conf file to create shares, this site gives basicshttp://www.samba.org/samba/docs/man/Samba-...l.html#id318178tools needed a text editor root password. this may helpFor this example, we'll say you are using /home/shares.As root:mkdir -m 751 /home/sharesmkdir -m 2770 /home/shares/accountingchgrp accounting /home/shares/accountingAnd now add your share to /etc/samba/smb.conf:~[Accounting] comment = for the accouting group path = /home/shares/accouting browseable = yes guest ok = yes valid users = @accounting writeable = yes write list = @accounting create mask = 771 directory mask = 770 map hidden = yes map archive = yes map system = yes available = yesNotes: * browseable = no tells Samba that this share will not be visable in the Network Neighborhood. Change this to yes if you want this share visible. * map hidden = yes, map archive = yes, and map system = yes tell Samba to respectively honor these Windows file attributes.Now make the share available:As root:service smb reloadmy suggestion is to read this over, and then see what questions you have. SAMBA can be tricky, and the GUI tool mostly are bad. Quote Link to post Share on other sites
shanenin Posted June 5, 2007 Report Share Posted June 5, 2007 (edited) I have a pretty simple smb.conf file. It may give you some ideas[global] server string = Samba Server %v map to guest = Bad User log file = /var/log/samba3/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No hosts allow = 192.168.1.[avi] path = /mnt/media/avi writable = yes[music] path = /mnt/media/music writeable = yes[share] path = /mnt/media/share writable = yes[brighteyed] path = /mnt/media/brighteyed writable = yes Edited June 6, 2007 by shanenin Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.