SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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!
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.