|
Home > Archive > Linux/Unix > May 2004 > Samba problems
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| pepe le pew 2004-05-08, 1:07 am |
| Hello All:
I hope someone can help me with a problem. This is critical, because this project is due on Tuesday, so please help.
I am using the Linux for beginners 2nd edition by Steve Shah. He talked about how to setup a samba server and how to setup swat. I followed the procedure step-by-step, but there was a problem when I try to browse to the SWAT Web Administration tool via Netscape. It gives me the error message: > URL http://127.0.0.1:901 Error - Netscape's network connection was refused
> by the server 127.0.0.1. The server may not be accepting connections or may
> be busy. Try connecting again later.
I have tried editing the /xinetd.d/swat file and /etc/services file. I also have the nmbd and smbd daemon running in the background.
What am I doing wrong? If someone has an answer or suggestion, I'd appreciate it if you can walk me through it step by step. I was thinking about starting over from the beginning to make sure that I'm doing it correctly. I appreciate any help you guys can provide me.
Thanks in advance,
Pepe | |
| bsdboy 2004-05-08, 8:52 am |
| Sound to me like your firewall blocking it. Look in your log files (/var/log/secure) to be sure. If this is case, then you can alter your iptables rules to allow connections to port 901 from your host. | |
| pepe le pew 2004-05-08, 8:21 pm |
| Thanks for the suggestion bsdboy. I think the problem was that my proxy was enabled in my browser. After I disabled proxy, the browser was able to display a login to: SWAT from localhost<--that is good!
Now onto the next problem, I can't login using the username and password that I use for my server, which is root. I am trying to login from my samba server to http://localhost:901, whenever I type in root and the password, it gives me an error message saying "authentication failed, do you want to try again?" do I need to edit any other files? BTW, I am using Red Hat 7.3 and my samba package is 2.2.8a.
Again, any suggestions or comments is very much appreciated. | |
| bsdboy 2004-05-09, 10:21 am |
| Remember that your samba login is not same as your unix login. if you use samba to authenticate your self onto a windows network, you will need to configure files accordingly and logon as windows user. If you use samba to connext to a windows share you will need to use use still your windows user name.
logging onto swat though, should accept your unix password. i suggest you look at configuration files and make sure all is set right. also look at your log file to see if they give you more ideas why your login was rejected. |
|
|
|
|