Inside Samba: Windows Sharing for the Mac
Subject:   problem activating SWAT
Date:   2003-08-20 11:58:21
From:   anonymous2
Response to: problem activating SWAT

I had the same error. Try a "which swat".

Besides the default OS X install of samba, it turns out that Samba was also installed by Fink on my machine (and /sw/sbin comes before /usr/sbin in my PATH). I edited /etc/xinetd.d/swat, changing the "server=" line from "/usr/sbin/swat" to "/sw/sbin/swat" and then everything was fine.