hello, So further to my previous mails about TLS, I've now moved on to try make my CentOS 4.3 machines, the closest RPM I could find was the one for el3 ones on the bacula download list.
These while ldd show them linked against OpenSSL does not seem to support TLS: # ldd `which bconsole` libtermcap.so.2 => /lib/libtermcap.so.2 (0x0062e000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x006a7000) libssl.so.4 => /lib/libssl.so.4 (0x00846000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x00722000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00a7f000) libm.so.6 => /lib/tls/libm.so.6 (0x005f9000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0061e000) libc.so.6 => /lib/tls/libc.so.6 (0x004c7000) /lib/ld-linux.so.2 (0x004ae000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x0080d000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x006bb000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x00111000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00823000) libresolv.so.2 => /lib/libresolv.so.2 (0x00670000) libdl.so.2 => /lib/libdl.so.2 (0x005f3000) libz.so.1 => /usr/lib/libz.so.1 (0x00114000) The moment you try and configure TLS into the config files you get: 20-Jul 20:18 bconsole: Fatal error: TLS required but not configured in Bacula. Which in my experience seem to indicate that TLS is not enabled. I then tried to compile the SRPM on my machine, installed all the RPM requires etc, when I installed the default spec file I stopped it through the configure phase and it confirmed: TLS support: no So I saw on this list someone suggest doing --with-openssl=/ in the spec, I did this now the configure output says yes for the above. However mid-build I get a lot of problem, I'll show some here: ----- /usr/bin/g++ -static -L../lib -L../findlib -o static-bacula-fd filed.o authenticate.o acl.o backup.o chksum.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o \ -lz -lfind -lbac -lm -lpthread -ldl \ -L/usr/lib -lssl -lcrypto <snip> /usr/lib/libssl.a(kssl.o)(.text+0x195): In function `populate_cksumlens': : undefined reference to `valid_cksumtype' /usr/lib/libssl.a(kssl.o)(.text+0x1ad): In function `populate_cksumlens': : undefined reference to `krb5_checksum_size' /usr/lib/libssl.a(kssl.o)(.text+0x1d5): In function `populate_cksumlens': : undefined reference to `krb5_checksum_size' <snip> ----- this seems related to krb5 not being linked in, but even if I change the command being run at that point - manually - to include -lkrb5 I get no joy out of it. RedHat does weird stuff with their OpenSSL and KerberosIV. I have: openssl-devel-0.9.7a-43.8 krb5-devel-1.3.4-27 Does anyone have any suggestions for getting this to work? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users