HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
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