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

Samba Version 3.4.1 swat issue

MikeL_4
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: libtalloc.so.1: cannot open shared object file: No such file or directory".

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

Re: Samba Version 3.4.1 swat issue

hi,

check this link :

http://archive.netbsd.se/?ml=samba-technical&a=2008-08&t=8326595

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

mikap
MikeL_4
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...