[Samba] 400 Server Error

Ian C Roberts Ianto_Panto at mac.com
Mon Nov 4 22:15:01 GMT 2002


I have an Apple iBook 500 running mac OS 10.2 jaguar, and am trying to 
configure my samba server.  I thought I could use swat first and then 
tweak the file afterwards.

I have already got swat to work on my tower machine, which has the same 
OS - but cannot for my life get it to work on the laptop even though im 
taking exactly the same steps to enable swat...!!!!

Im using xinetd to start the service and here is the configuration for 
swat.....

service swat
{
    port    = 901
    socket_type     = stream
    wait    = no
    groups = yes
    user    = root
    server  = /usr/sbin/swat
    server_args = -s /etc/smb.conf
    disable =  No
}

It doesn't work on the tower if I remove the server_args line...

I use the same config. for the laptop, and I get the internet explorer 
error message stating that the attempt to load failed when I do 
http://localhost:901.  If I use 127.0.0.1 instead of localhost I get a 
html page saying,
	
	400 Server Error
	chdir failed - the server is not configured correctly

I don't now what Im doing wrong. ( I have enabled the service [swat  
901/tcp], and created the file /etc/xinetd.d/swat and pasted the 
config. stuff above....

Can someone please help, Im quite new to unix.
Thank you very much in advance.
Ian




More information about the samba mailing list