-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 21 October 2001 23:37, Ron Allen opined on the topic: [newbie] 
File/Printer Sharing with Windows
> I need to be able to have two-way file access with Windows machines on
> the same network as my Linux box. I also must be able to print from my
> Linux box to a printer connected to a Windows machine on the network.
>
> Someone suggested I look at Samba, but I'm having trouble finding how to
> install it. I'm pretty much a total newbie on Linux, so maybe some
> general help in this area would be helpful.
>
> What I have read about Samba so far seems to say that it is used for
> sharing files coming in and printers that are attached to the Linux
> machine, but I need two-way file sharing and the only printer is
> connected to a Windows machine and can not be moved. Will Samba do what
> I want or do I need to look elsewhere?
>
> Setup: two machines running Windows ME and one machine running Mandrake
> Linux 8.0 (the Power Pack boxed set if that matters), on a standard
> ethernet network connected through a NetGear RT314 router. The printer,
> a HP LaserJet 5p, is connected directly to one of the Windows machines
> and is shared for all machines on the network to use. All machines are
> also connected to the Internet through the router, which is connected to
> a 3Com 'tailfin' cable modem on a 768K/128K pipe. The Internet
> connection works fine under Linux, so I believe the network is setup and
> operating correctly on the Linux machine.
>
> Thanks for any help,
>
> Ron

Ron, Samba can do everything you need. It can act as a full-blown Primary 
Domain Controller, if you want (emulating an NT server).

To see if Samba is installed, run the following command in an xterm 
        rpm -qa|grep samba
(The vertical line is the pipe, usually above the backslash on your 
keyboard.)

This shows my own output:
[dave@dedannshae dave]$ rpm -qa|grep samba
samba-client-2.2.1a-15mdk
samba-2.2.1a-15mdk
samba-common-2.2.1a-15mdk

I am running Mandrake 8.1, so the version numbers may be slightly 
different. But as long as you have samba-client, samba-common, and samba, 
you should be fine.

Installing is as simple as running Mandrake's Control Center, going to the 
Software Manager, and searching for Samba. If it needs to be installed, 
then you can just click the Install button, and the Software Manager will 
prompt you for whichever CD it needs to install the software.

Once Samba is installed, there is a single configuration file called 
smb.conf, which resides in /etc. You must be root to edit this file. You 
can also use SWAT, and web-based config tool, but I have not had much luck 
with that. Besides, the text file really isn't very complicated, and it is 
commented pretty well. You can also 'man smb.conf' in an xterm, which will 
give you everything you need.

Finally, I would be happy to send you one of my own smb.conf files, so you 
have a working example. My network includes a Win98 PC for my wife (and 
for me, for some games), my Linux laptop (which runs Samba), and a server 
running Samba plus a bunch of other services.

Dave
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE71CGFA68l26XsZUYRAorWAKCShwUfO5fV2kVbD5Z/+mfHCdSkZQCg4Dfi
2CnHKtPTxAiWreBRTMxzvrs=
=wxbo
-----END PGP SIGNATURE-----

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to