Installing and cofiguring Samba

I have a compaq deskpro Celeron 300 with a 3com NIC, connected to a big windows network with several workgroups.

So far I have managed to install TCP/IP, browse the WEB, send e-mails, but I don´t understand SAMBA.

This is an easy question, but since it will take patience to answer I´ll give 100 points to it. Please take the time to answer all the items.

What I want to know is:

1- Does SAMBA have a front end interface?

2- Does it have a browser in order to explore my network?

3- So far my computer is receiving an IP from my DHCP server (witch is probably Win NT), but I don´t know it name on the network. I sent an e-mail to myself and the name listed there was my network suffix like "". When I do this under windows I get something like "". I have the station name configured under KDE. Anyone knows what is happening?

4- How do I know my Samba server installed and running properly? Can I start it and shut it down at will?

5- What are the ways to configure samba?

6- Can I get windows machines to see my machine like an windows machine?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi, rmaranhao,

Some answers:

4.  After installing samba, you can start it with:

/etc/rc.d/init.d/smb start

You can stop it with:

/etc/rc.d/init.d/smb stop

To test if it's running:

smbclient -L localhost

You should see the shares and the name of the samba server machine.

5.  All samba configuration is contained in /etc/smb.conf.  There's a browser based tool called swat for configuring smb.conf.  Do a search on swat or get a samba text.  It's too much to explain here.

6.  Once you get samba installed and running, your Linux machine will show up as a machine in the Windows Network Neighborhood.  You can also map the shared Linux drives to the Windows My Computer.

Good luck,

Ok.  I'll do my best to answer all of these clearly for you.  Here goes.

1) Does SAMBA have a front end interface?
   Yes.  There are several available.  Since you are already using KDE, I would suggest the KSamba tool.  However, several are available.  See the following link:

2) Does it have a browser in order to explore my network?

   Yes.  Download the file tkSamba-02a.tgz from the following page:

3) Sender Name?

   There is likely no name specified for your machine.  Run linuxconf and at the top, there is an option for basic host information.  Enter your machine's name here with the domain extensions included.

4) How do I know my Samba server installed and running properly? Can I start it and shut it down at will?

   You can run the following commands to check status, start and stop SAMBA (in that order).

   samba start
   samba stop

5) What are the ways to configure samba?

   SAMBA can be configured to do many things.  It can serve files and printers to SMB based windows clients including NT, 98, 95, etc.  You can allow read only access, write/read access, and many other options.  Run the frontend Ksamba to see visually some of the options.  Or, if you wish, edit the file /etc/smb.conf manually.  It is well commented, and it will provide much information regarding configuration methodologies and issues.  The most important issue to beware of is the password encryption scheme.  Windows 95 uses plain text passwords.  Windows 98 and NT use encrypted passwords.  The best thing to do is to set SAMBA to use encrypted passwords.  Also, each person needing to log into SAMBA to use files/printers must have an account on the linux machine.  Preferably, they should use the same username and password as they do to log onto the network already.  This will provide seemless integration.  SAMBA shares will show up in network neighborhood and can be mapped, etc.  For more info run the command "man smb.conf" (no quotes).  Also, refer to for documentation as well as the latest version and updates.

6) As stated above your windows machines will not know the difference between the SAMBA sever and a windows based file/print server.

Hope this helps you out.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rmaranhaoAuthor Commented:
Thanks man...
Although the comment from emeraldkim had already given me some tips, your answer seems to be very complete. If I have any trouble with the links I´ll let you know.

[]'s RMaranhao
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.