samba
hey guys i just installed samba on my rh 7.2 server...i got both the deamons up and running...but i cant get to SWAT over the network with 192.168.1.100:901 (thats the correct ip)...smbd and nmbd are up...what did i do wrong...also i cant find my smb.conf ANYWHERE...its not in /etc/samba (i dont even have a samba in etc) or in /usr/local/samba/lib/....help...thanks
|
If you don't have /etc/samba, I would reinstall samba. that is where your config file needs to be. RH default it there. I am not sure why it is not there.
|
hmm ok lemme try taht
|
ok i recompiled it and reinstalled this time i use make install > install.log.....so i searched thru the log and i found that it installed testparm...which lets me see where samba is looking for its .conf file...and it still couldnt find smb.conf
|
Do you have /etc/samba?
|
nope
|
Is there anything in /usr/local/samba/lib? In FreeBSD 4.2 you had to make a smb.conf file. I have a little how-to at http://www.valkyrie.net/~tangle/comp.../smb_conf.htm. You can just cut and past this and change the values to what you need. I would do this and see if it works.
|
hmm thanks
|
ok testparm OK'ed the file...going to reboot now..THANKS :D
|
You don't have to reboot. Just type smbd restart and nmbd restart at the command line.
|
well i already rebooted....now how do i get swat working...i also changed the password dir to /etc/passwd
|
|
ok well i read the link and i did all that...created the file in xinetd.d and mapped the service in /etc/services....now how do i make xinetd call the swat file?
|
If your /etc/xinet.d/swat (Ithink that is the location) then it should work. Make sure that server = is the path to the swat binary.
# description: SWAT is the Samba Web Admin Tool. Use swat \ # to configure your Samba server. To use SWAT, \ # connect to port 901 with your favorite web browser. service swat { port = 901 socket_type = stream wait = no only_from = localhost user = root server = /usr/local/samba/swat log_on_failure += USERID disable = no } |
only_from = localhost
I think that this in your swat file will prevent you from accessing swat across the network. Regards |
All times are GMT -5. The time now is 09:57 AM. |