SWAT: please help
gary at netin.com
Mon Mar 5 22:12:22 GMT 2001
Here's the problem [on a RH7 running kernel 2.2.17-14 with
Samba 2.0.7-21ssl and xinetd-220.127.116.11pre14]:
http://localhost:901 does bring up the SWAT login dialog
box.. but upon entering root as the user, followed by my
root passwd in the next entry... it tells me "Authentication
failed. Retry?" I can tell you that I did enter the correct
root passwd, because I am root on this network.
Any ideas.. or should I just forget SWAT [as in it's buggy]
and run the daemons manually? I've fought with this for
three days and I've had enough.
Historical: [all this is done as root]
Created the group 'smb'
Created the user 'smbuser' w/ a home dir of /home/public
[I also disabled login on this user account when I created
#chown smbuser:smb /home/public
#chmod 2777 /home/public
#chown smbuser:smb /home/samba
#chmod 2770 /home/samba
#chown smbuser:smb /home/samba/data
#chown 2770 /home/samba/data
Via Linuxconf, open the group smb, and add the users I want
included in this group.
127.0.0.1 localhost.localdomain localhost
192.168.0.115 arendia.FOURNERAT arendia
192.168.0.111 compaq.FOURNERAT compaq
192.168.0.112 marilyn.FOURNERAT marilyn
[Note: localhost and arendia are the same RH7 box.. compaq
is a NT 4 PDC... marilyn is a Win98 workstation.]
#grep swat /etc/services
swat 901/tcp # Samba Web
# 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.
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = smbuser
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
swat: 127.0.0.1 192.168.0.
#killall -HUP xinetd
And somewhere along the line, the file /etc/samba/smbuser
was created (Linuxconf?)...
#Unix_name = SMB_name1 SMB_name2
root = administrator admin
nobody = smbuser guest pcguest smbguest
Any help would be greatly appreciated!
More information about the samba