LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba Install (https://www.linuxquestions.org/questions/linux-newbie-8/samba-install-65415/)

lancelvania 06-13-2003 11:31 AM

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?

yowwww 06-13-2003 11:38 AM

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

lancelvania 06-13-2003 01:34 PM

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.

yowwww 06-13-2003 03:00 PM

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

Electro 06-13-2003 05:20 PM

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.


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