Click to See Complete Forum and Search --> : Absolute Linux newbie and Samba
DaGallis
06-20-2002, 11:38 AM
I am completely new to Linux (4 days) and is trying real hard to learn. I am using Suse Linux 8.0 and have been able through forums and basic books to set up almost everything on the KDE desktop. I am, however, having trouble figuring out how to use the kconsole to configure anything. For example, I have a LAN with two Windows PC's and this machine using linux and I am trying to set up SAMBA so all the PC's can see each other. This is a peer ntwk so no domain is setup. How would I, first of all, configure samba in kconsole or xterm and second, set up the windows PC's to see my Linux box? :confused: :eek: :(
AstroDroid
06-20-2002, 11:47 AM
If you are sure that you installed samba then you need to edit your /etc/samba/smb.conf file and add the appropriate shares.
Then make sure the directories you referenced on you drives have the correct permissions.
See the NHF pg 2. on Samba for a listing of a smb.conf file. http://www.linuxnewbie.org/nhf/intel/network/samba/samba1.html
The easiest way to configure a smb.conf file is through swat.
DaGallis
06-20-2002, 03:32 PM
how do I edit the smbconf file? What program do I use? What directory should I be in? Basically I need step by step procedure. Thanks.
AstroDroid
06-20-2002, 04:49 PM
Since I'm pretty new at this. I'll do the best that I can. also I'm using redhat 7.3 so some of this may be different for you.
Check to see if you use inetd or xinetd. I think SuSE 8 uses xinetd. Look to see if xinetd or inetd exists in /etc/init.d Whatever is there is what you use. If your using inetd. Read through the NHF for Samba.
First enable swat. To enable it in redhat you have to edit the /etc/xinetd.d/swat file and change diasble to NO.
Restart xinetd using
service xinetd restart
Then open a webbrowser and go to http://localhost:901/
If you get swat running then I'll send more.
DaGallis
06-20-2002, 05:19 PM
Thanks, I'll try that. I'll let you know what happens.