LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2003, 12:31 PM   #1
lancelvania
LQ Newbie
 
Registered: Jun 2003
Location: Deep in the heart of Texas
Posts: 2

Rep: Reputation: 0
Unhappy Samba Install


Hello all,

I am trying to setup and install Samba on a RH8 box and I am running into so8me issues.

I first installed RH8 and used the web as a reference to setup and install Samba. I got frustrated so I reinstalled.

On the second try, whadaya know I got Samba working. Since I am a glutton for punishment. I wanted to make sure I knew how to configure it, I reformated and reinstalled RH8

I forgot what I did and on the third try; I am stuck again.

I have installed samba using package manager, but when I go to edit the swat file it says the file doesnt exist. So I browsed to the RPM file and when I try to launch it. I get a message saying that it is already installed. I also checked the Services to see if smb is running, and smb is not listed!!

What do you think?
 
Old 06-13-2003, 12:38 PM   #2
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
what is it exactly that you are trying to do?

check out my guide on the helpful tips page - there is info there and also another useful link.

try to be more specific about what you are trying to do
 
Old 06-13-2003, 02:34 PM   #3
lancelvania
LQ Newbie
 
Registered: Jun 2003
Location: Deep in the heart of Texas
Posts: 2

Original Poster
Rep: Reputation: 0
Samba Install more info

Sorry about being a little vaugue; I had one foot out the door headed for lunch. : )

I am trying to make sure I have Samba installed properly and then config SWAT. I have installed samba through packet manager. Then I went to edit my swat fil When I went to edit the file. I was unable to edit the file etc/init.d/xinetd.d/swat. ( I kept getting a file not found )
Then I went into the services tab to see if smb was running, and I found out it was not running.
Then I tried to browse to the RPM file to install it there. I then got a message that it was already installed.

Is there another directory that the file might be installed to? Or should I just start over?

Thanks for the help.
 
Old 06-13-2003, 04:00 PM   #4
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
try double checking the install guides on my site and then let me know what exactly you have tried in order to get it installed
 
Old 06-13-2003, 06:20 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You don't need SWAT to setup SAMBA. SWAT is for those that do not have patients to read smb.conf documentation. I suggest you remove SWAT because it will give you problems in the future.

The tools you need to setup SAMBA is a text editor and patience. First find smb.conf and open it up in any text editor. You need to be as root or su to write it. Next either open up another console and type man smb.conf or go to SAMBA's web site and look for smb.conf documenation. Plan what directories you want to have for users or guest. If you want a writable directory, make sure the permissions are set correctly. Refer to the documenation for any options you want to have in the smb.conf file. For testing SAMBA, change security = user to security = share and make sure you are not connected to the internet while using this option. After you make changes type smbd and nmbd for the changes to take place. You may need to specify smbd -D and nmbd -D. If everthing is working how you want it, change security = share to security = user. Then you are ready to add users to SAMBA.

SAMBA will not work if you have a firewall working. Turn it off during setting up SAMBA. After you have SAMBA working properly, you can then turn on your firewall. Don't forget to add a line for SAMBA. I don't remember what ports SAMBA uses.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install Samba if I didn't install it when I installed FC2? CatchFlipsidE Linux - Newbie 6 09-10-2004 07:17 PM
Can someone please tell me how to install Samba ? lostboy Linux - General 3 05-01-2003 12:28 PM
cant install SAMBA juanb Linux - Software 4 04-06-2003 03:38 AM
Samba install boyinfrance Linux - Newbie 2 05-10-2002 03:44 AM
samba install techie1 Linux - Newbie 2 07-05-2001 05:22 PM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration