cancel
Showing results for 
Search instead for 
Did you mean: 

SAMBA SWAT and SSL

john guardian
Super Advisor

SAMBA SWAT and SSL

Can anyone advise as to whether or not CIFS/SAMBA has been compiled using --with-SSL?

 

And if so, is there a means to verify this on the machine, ie: strings <samba swat executable> or?

 

Thx in advance for any replies.

1 REPLY
Matti_Kurkela
Honored Contributor

Re: SAMBA SWAT and SSL

ldd <executable>

 ...will list the libraries the executable has been dynamically linked with.

 

OpenSSL would be libcrypto.so.*, and the GnuTLS library would be libgnutls.so.*.

 

However, if the SSL functionality is statically linked into the binary, the ldd command won't see it. On the other hand, static linking increases the size of the binary, so it is not very common.

 

So the answer from ldd would be either "definitely yes" or "probably not".

MK