I am having a few difficulties configuring this on a SUSE 7.2 system with the
2.4.7 kernel. Pcsc-lite (1.03) is compiled with usb enabled and the device is
visible on the usb bus (lsusb) and via pcsc_scan (reader 0).

# pcsc_scan output
PC/SC device scanner V 1.0.3 (c) 2001, Ludovic Rousseau <[EMAIL PROTECTED]>
PC/SC lite version: 1.0.1 0: GemPC430 0 0
Sat Dec 15 14:23:24 2001  Reader 0 (GemPC430 0 0)
Card state: State has changed,
Card inserted,         ATR: 3B 16 94 81 10 06 01 81 2F

The device does not respond when accessed via the utilities such as the
smartcard-login netaccountadd: giving the following error.

# DEBUG OUTPUT from netaccountadd -uid rpiper
uid: rpiper
aut0: 0xad9f61fefa20ce63
reader: 0
CA Dir: /Root_CA
CA RDN: Root_CA
LDAP-Conf: /etc/openldap/ldap.conf
LDAP-Passfile: /etc/openldap/ldap.secret
LDAP-Host  : localhost
LDAP-Port  : 389
LDAP-ROOTDN: cn=admin, o=icu-web, c=au
LDAP-PWD   : XXXXXX
NSS_BASE_PASSWD: ou=people, o=icu-web, c=au
Connect to SmartCard
.Retrieving readers'list :
.Connecting to the card :
.Select MF
Send: 00 A4 00 00 02 3F 00
Receive:
Use of uninitialized value in numeric ne (!=) at /sbin/netaccountadd line 221.
Can't select MF
No changes made for ldap, smartcard and CA

or the following command to unblock the smartcard pin

# DEBUG OUTPUT FROM smartcard_admin unblock -upin 11111111 -chv1 12345678
command: :unblock:
chv1: 12345678
upin: 11111111
aut0: 0xad9f61fefa20ce63
reader: 0
chv1: 49 50 51 52 53 54 55 56
upin: 49 49 49 49 49 49 49 49
aut0: 173 159 97 254 250 32 206 99
Connect to SmartCard
Retrieving readers'list :
Connecting to the card :
Select MF
Send: 00 A4 00 00 02 3F 00
Receive:
Use of uninitialized value in numeric ne (!=) at /sbin/smartcard_admin line 227.
Undefined subroutine &main::quit called at /sbin/smartcard_admin line 227.
PCSCCard object PCSC::Card=HASH(0x8183554) deleted but still connected at 
/usr/lib/perl5/site_perl/5.6.1/i586-linux/PCSC/Card.pm line 254 during global 
destruction.

The smartcard netlogin package works quite well with the Schlumberger 72 serial
reader, so I suspect this is simply a problem with the way I have configured
the USB reader. (I have left reader.conf empty when using the USB device)

I would be grateful for any suggestions, or advice about how to debug this.

thanks

Richard

Richard Piper
email:[EMAIL PROTECTED]
http://icu-web.org
phone: 0438-120860

***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************

Reply via email to