Wednesday, March 26, 2008

SAMBA Swat

Just had to sort out a niggling issue on a SLES 10 box at dad's work. I have given up for the time being trying to sort out Samba acting as a primary domain controller (PDC) for the Network there. So I have enabled SWAT and found this very useful post which went into the detail. It doesn't look like the default xinted config file for swat is particularly helpful. Added the blue lines to it.

service swat
{

port = 901
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
only_from = localhost

}

I always expected that YAST on SLES would be able to do all of the necessary configuration. Not yet. One day it will but the whole setup is rather clunky. If you read this article you can see how fiddly it is.

It's not a lot to ask!

I have never understood what all of the directory permissions and ownership need to be on the physical disk. I am sure that 777 is overkill.

No comments: