I downloaded the Samba 3.0.21c source and after a ./configure --prefix=/mnt/apps/samba did a make, make install. SMBd is not starting, and swat also cowardly refuses to start. Appearently, something is broken.
[Solution]
For SWAT to work, you need to modify your inetd/xinetd conf, like this:
inetd.conf:
Code: Select all
# swat is the Samba Web Administration Tool
swat stream tcp nowait.400 root /usr/sbin/swat swat
Code: Select all
service swat
{
port = 901
socket_type = stream
wait = no
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
SMBd and swat still refused to start, but for a very simple reason, as i foun d out: I had wrong settings for the map guest user, so both programs refused to start. I just changed the security settings back to some basics that are known to work, and now smbd starts up without any problems. Also, swat was now reachable over http://IP:901 - hooray!
If you have other problems, you can just follow the how-to on samba.org - its very detailed and easy to understand. Good Job, samba guys!