PDA

View Full Version : Samba Swat dosen't auth any of my accounts



ZuriJAckshoT
24th November 2007, 02:55 AM
Below is my Samba Swat config. I connect to it by this URL http://127.0.0.1:904/ and it asks me for user name and password, So I filled in root's username and root's password. It dosen't auth me. I've been searching at docs and at google about this but they all told me to use root and root's password. Any advice?

# default: off
# 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
{
disable = no
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}

SuperNu
24th November 2007, 07:50 AM
You have to connect to port 901, not 904 to connect to swat.

What I would do is to open up a terminal, type "tail -f /var/log/messages" (you need to be root or use sudo to look at /var/log/messages), try to log into swat again and see if any error messages are displayed.

--SN