root root at pc-62-30-143-166-gl.blueyonder.co.uk
Sun Nov 4 12:43:02 GMT 2001

I cannot get swat to work for samba 2.2.2-2

This is my xinetd file
# Simple configuration file for xinetd
# Some defaults, and include /etc/xinetd.d/

         instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success           = HOST PID
        log_on_failure           = HOST

includedir /etc/xinetd.d

swat   stream  tcp  nowait.400  root  /usr/sbin/swat  swat

This is my xinetd.d/swat file

# 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
         port    = 901
         socket_type     = stream
         wait    = no
         #only_from = localhost
         user    = root
         server  = /usr/sbin/swat
         log_on_failure  += USERID
         #disable = yes

This is my pam.d/samba file

auth       required	pam_nologin.so
auth       required	/lib/security/pam_stack.so service=system-auth
account    required	/lib/security/pam_stack.so service=system-auth
session    required	pam_stack.so service=system-auth
password   required	pam_stack.so service=system-auth

swat is enabled in the etc/services file as 
swat		901/tcp				# Samba Web Administration Tool

More information about the samba mailing list