LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2004, 04:33 PM   #1
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Rep: Reputation: 15
Have I got Samba installed or not??


I'm confused. Kpackage says I have Samba 2.2.8 installed but there is not a smb.conf file in /etc/samba, only a sample one. Am I supposed to manually construct it for myself? I type in SWAT and the console just stops and sits there, like it's waiting for me to input data, it doesn't give a "command not found" error so I'm thinking I've got SWAT which should mean that I have Samba too, but I can't find the stuff to configure it. Is it really as deep as it seems or am I overlooking something obvious. If I do have to set it all up manually I don't have a problem with that, but if I'm beating my head off of the rocks of knowledge unnecessicarily I'd like it if someone would let me know.
 
Old 06-29-2004, 04:37 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
Quote:
Am I supposed to manually construct it for myself?
yes you have to manaually make it yourself.. so you'd type something like :
Code:
 cp smb.conf-sample smb.conf
as of swat type in your browser address bar
Code:
192.168.1.5:901
and of course change the ip address to what yours is .... and that will open Swat for you.
 
Old 06-29-2004, 04:41 PM   #3
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 17
Yes you have samba installed, just not configured. Yes you will have to create /etc/samba/smb.conf. On my client machines, my smb.conf file is as simple as
Code:
WORKGROUP = workgroup
You can create a new file, or just copy smb.conf-sample over to smb.conf and work off of that. To enable swat you have to open the port 901. You need to edit you /etc/inetd.conf. Down at the bottom of the page you will see SWAT, and a short description about it, uncomment the line below that. Now you have to restart inetd. You do that by issuing the command /etc/rc.d/rc.inetd restart. Now you can log in to SWAT via you browser (http://localhost:901). To do this file editing you need a text editor, a great and easy (we like easy) text editor is pico. Good Luck!

-tank
 
Old 06-29-2004, 05:39 PM   #4
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by tank728
Yes you have samba installed, just not configured. Yes you will have to create /etc/samba/smb.conf. On my client machines, my smb.conf file is as simple as
Code:
WORKGROUP = workgroup
You can create a new file, or just copy smb.conf-sample over to smb.conf and work off of that. To enable swat you have to open the port 901. You need to edit you /etc/inetd.conf. Down at the bottom of the page you will see SWAT, and a short description about it, uncomment the line below that. Now you have to restart inetd. You do that by issuing the command /etc/rc.d/rc.inetd restart. Now you can log in to SWAT via you browser (http://localhost:901). To do this file editing you need a text editor, a great and easy (we like easy) text editor is pico. Good Luck!

-tank
I followed your steps...

and I've got the SWAT configurer opened. One step closer. Thanks.
 
Old 06-29-2004, 07:00 PM   #5
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
I'm not trying to sound like RTFM or anything, but I'm setting up Samba too and noticed that there are two books in /usr/share/doc/samba-3.0.4/docs/. One is Samba-3 by Example and the other is Using Samba, 2nd Edition. On Slackware anyway, maybe Mandrake too.
 
Old 06-29-2004, 07:39 PM   #6
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
I'm not finding it here. Maybe it's because I'm working with 9.1 and, according to your profile info, you're using 10.0.
 
Old 06-29-2004, 07:50 PM   #7
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
You can also find them at http://us3.samba.org/samba/docs/
I'm going through them now. Still not quite configured yet though :^(
 
Old 06-29-2004, 08:04 PM   #8
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Got that link already but thanks. Looked around there yesterday, started suffering from information overload. I've been thinking about getting the Samba 3 by example book, how's the layout? Do you think it's a good beginner's choice or can I do better?
 
Old 06-29-2004, 09:03 PM   #9
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
Not sure about Samba-3 by Example, I've been reading Using Samba, 2nd Edition. It got me up and running with what I needed to do!
 
  


Reply



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
samba server is not installed Volcano Linux - Newbie 11 10-07-2005 05:07 AM
Installed the wrong SAMBA packages.Now samba doesn't start Terrence Hinds Linux - Networking 3 10-11-2004 03:40 AM
Samba is it installed AndreL Linux - Networking 1 04-05-2004 02:19 PM
Is Samba installed in RH8.0? Tiyogi Linux - Networking 3 03-16-2004 04:13 PM
Just installed Samba/SWAT.... Sabastian Linux - Software 2 12-09-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:15 PM.

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
Open Source Consulting | Domain Registration