about Swat

Joseph Loo jloo at acm.org
Thu Oct 25 06:58:05 GMT 2001


I had the same difficulty. If you look into the how-to documentation, it 
will describe how to do it. I use Mandrake 8.0 and some of  it was setup 
for me already in the installation. Since you are using suse, I am not 
sure how much is applicable. You will need to place the following in the 
/etc/xinetd.d/swat, where swat is the file:

# default: on
# 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
}

You will then need to add /etc/pam.d/samba (samba is the file)

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

Other people has more elaborate setups than mine but this seem to work 
for me.


James atayi wrote:

> hallo!
>
>  
>
>  I 'm using the Linux 7.2 version from SuSE, and I have some 
> difficulties to start the swat.
>
> Samba is already running!
>
>  
>
> Could any one help me?
>
>  
>
> Thanks
>
>  
>
> James
>
>  
>

-- 
Joseph Loo
jloo at acm.org


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list