[Samba] OK, Samba's OK, now I need swat help.

Sylvestre Taburet staburet at mandrakesoft.com
Tue Jul 16 15:14:02 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Mardi 16 Juillet 2002 23:42, Nick Ruth a écrit :
[...]
> 2. Can someone give me an idea of what and where I need commands for
> xinetd.
>
> Server is RH7.2, Samba 2.2.3a, following file "swat" is in /etc/xinetd.d/
>
> ## /etc/xinetd.d/swat
> service swat
> {
>         port    = 901
>         socket_type     = stream
>         wait    = no
> #        only_from = localhost
>         user    = root
>         server  = /usr/local/samba/bin/swat
>         log_on_failure  += USERID
>         disable =  No
> }
>

your /etc/xinetd.d/swat looks allright to me, though I wouldn't allow access 
from anywhere (uncomment "only_from = localhost"), as swat is not https.

[...]

try something like this:
[sly at naima sly]$ cat /etc/services |grep swat

if you don't have this kind of output:
swat	901/tcp	# Samba Web Administration Tool

then copy/paste that line to your /etc/services and restart xinetd:

[sly at naima sly]$ su -c "/sbin/service xinetd restart"
Password:
Stopping xinetd:			[  OK  ]
Starting xinetd:			[  OK  ]
[sly at naima sly]#
- -- 
Sylvestre Taburet - Project Manager - 1024D/030E1B7E
Mandrakesoft S.A. - 43, rue d'Aboukir, 75002 Paris - FRANCE
+33 (1) 40 41 00 41 - http://www.mandrakelinux.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9NJoRBot2zwMOG34RAsg1AJ4zTyKTqWR8Aazuae7MfVnNQ1/2uwCdGPdV
Rzdwsb0EnccnfSPDL4r0p8I=
=zZfs
-----END PGP SIGNATURE-----





More information about the samba mailing list