Package: pcscd Version: 1.6.6-2 Severity: normal Tags: patch
When attempting to use rdesktop to connect to a remote windows XP computer which uses an RSA SecurID authenticator, authentication fails. The last thing before failure is the windows computer sending a request for SCardGetAttrib on the SCARD_ATTR_DEVICE_FRIENDLY_NAME_W attribute. pcscd responds to this request with an unsupported error. If I modify pcscd to return success and any string, authentication succeeds. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pcscd depends on: ii hal 0.5.14-5 Hardware Abstraction Layer ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libccid [pcsc-ifd-handler] 1.4.2-2 PC/SC driver for USB CCID smart ca ii libdbus-1-3 1.4.6-1 simple interprocess messaging syst ii libgcr410 [pcsc-ifd-handler] 2.4.0-9.1 PC/SC driver for GemPlus GCR410 se ii libhal1 0.5.14-5 Hardware Abstraction Layer - share ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip pcscd recommends no packages. pcscd suggests no packages. -- no debconf information *** /home/absmall/work/pcsc-lite-1.6.6/src/winscard.patch 1349c1349,1364 < if (dwAttrId == SCARD_ATTR_DEVICE_FRIENDLY_NAME) --- > if (dwAttrId == SCARD_ATTR_DEVICE_FRIENDLY_NAME_A) > { > unsigned int len = > strlen(rContext->readerState->readerName)+1; > > *pcbAttrLen = len; > if (len > *pcbAttrLen) > rv = SCARD_E_INSUFFICIENT_BUFFER; > else > { > (void)strlcpy((char *)pbAttr, > > rContext->readerState->readerName, *pcbAttrLen); > rv = SCARD_S_SUCCESS; > } > > } > else if (dwAttrId == SCARD_ATTR_DEVICE_FRIENDLY_NAME_W) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org