System Administration
Showing results for 
Search instead for 
Did you mean: 

Samba Version 3.4.1 swat issue

Super Advisor

Samba Version 3.4.1 swat issue

Recently compiling and installation of samba Version 3.4.1 and I am running Red Hat 5.3.

Samba starts and works fine, but I am having an issue with using swat.

I've configured xinetd for swat as follows, and yes I restarted the xinetd service:

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

And when I access SWAT service through web browser, I got error message as: "swat: error while loading shared libraries: cannot open shared object file: No such file or directory".

Anyone could help me on the above problems ? Thanks
Michal Kapalka (mikap)
Honored Contributor

Re: Samba Version 3.4.1 swat issue


check this link :

its for NetBSD but on the linux is mostly the same.

Super Advisor

Re: Samba Version 3.4.1 swat issue

I ended up just creating the swat execution in a script and setting LD_Library path in it so it knew where to find the missing library...
Then changed swat to execute the script instead of the swat module directly..
This resolved issue...