Problem still present in SLED11. It uses: libopensc2-0.11.6-5.24 opensc-0.11.6-5.24 pcsc-lite-1.4.102-1.24
Still a problem with SLED11SP1: $ pkcs15-tool -c ** (process:19581): DEBUG: PC/SC tunnel library loaded. ** (process:19581): DEBUG: ScardEstablishContext(0) ** (process:19581): DEBUG: Connecting to 127.0.0.1:4916... ** (process:19581): DEBUG: Connected. ** (process:19581): DEBUG: Authenticating... ** (process:19581): DEBUG: Authenticated (server version 2). ** (process:19581): DEBUG: SCardListReaders(0x805b580) ** (process:19581): DEBUG: SCardListReaders(0x805b580) ** (process:19581): DEBUG: SCardGetStatusChange(0x805b580, 0, 1) ** (process:19581): DEBUG: SCardGetStatusChange(0x805b580, 0, 1) ** (process:19581): DEBUG: SCardGetStatusChange(0x805b580, 0, 1) Card not present. ** (process:19581): DEBUG: SCardReleaseContext(0x805b580) ** (process:19581): DEBUG: Disconnecting. ** (process:19581): DEBUG: PC/SC tunnel library unloaded.
With SLED11SP2 it actually works if you configure opensc.conf with: reader_drivers = pcsc; ... provider_library = /opt/thinlinc/lib64/libpcsclite.so
Solving bug 3115 does not make this bug go away. It turns out that the default value of the pcsc provider_library setting is /usr/lib64/libpcsclite.so (on a 64-bit system). On a Fedora system, this is set to libpcsclite.so. This means that we can't use LD_LIBRARY_PATH to "inject" our own smart card tunnel libraries. To get smart card tunneling working on SLED11SP2, the administrator needs to configure opensc.conf as described in comment #3. libopensc2-0.11.6-5.27.1 opensc-0.11.6-5.27.1 pcsc-lite-1.4.102-1.37.3
(In reply to comment #3) > With SLED11SP2 it actually works if you configure opensc.conf with: > > reader_drivers = pcsc; > ... > provider_library = /opt/thinlinc/lib64/libpcsclite.so On SLED11SP3, you still need to set reader_drivers. Instead of providing the full patch to the provider library however it is sufficient with the short name. Thus recommending: reader_drivers = pcsc; provider_library = libpcsclite.so
This is not a ThinLinc bug and SLED11 is pretty old and not a recommended dist.