[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:Hi Otto,
our customer needs to use siemens-infenion smartcards with sunrays. He has SRSS 3.0/linux build 51 (GA). Card is not recognized with default setup nor with SiemensCardOs.cfg. Card data are following:
Data from chip card is SLE 66CX 322P CardOS 4.01a ATR as can be seen in utauthd-log is 3bf29800ffc11031fe55c80412
Does someone have cfg for this card or should I try to write new one?
The SiemensCardOS.cfg file contains these interesting lines:
71 # We recognize this ATR as an Infineon SLE66CX320 running
72 # Siemens CardOS
73 74 3bf29800ffc11031fe55c80315 hexequals
75 InfineonSLE66CX32X jmpIfTrue
76 77 # XXX Change this to the ATR of the SLE66CX322
78 3bf29800ffc11031fe55c80315 hexequals
79 noID jmpifFalse
The 'XXX' on line 77 is Sun's convention for "come back and fix this later". I suspect this means that that the engineer who wrote the config file couldn't get a CX322 card for testing and couldn't get Siemens to tell him what its ATR would be, so he
just coded the CX320's ATR as a placeholder on line 78.
Since the logfile says that the ATR from your CX322 is 3bf29800ffc11031fe55c80412 my suggestion would be that you edit this file and change the last four digits of the ATR string on
line 78 to '0412', then install the new version of the file and try the card again.
Let me know what happens. If that gets the card working then I'll submit a bug and get the file updated. If the card still doesn't work then perhaps you can lend it to Sun and we can figure out how to detect it.
OttoM. __ ottomeister
Disclaimer: These are my opinions. I do not speak for my employer.
now I have smartcard on my test site, so I can play with it. I tried to modify config file in suggested way, but no success. Then I enabled debug dumps (stack traces) in config file and I found out that this command is failing after inserting smart card second time (from SiemensCardOS.cfg):
00CA01810000 32 exchangeAPDU
"Stack dump immediately after exchangeAPDU"
msg
showstack
"" msg
badCard jmpIfFalseCard is returning an error that commmand was not processed.
If I do a power-cycle for SunRay, card is working again for the first insertion, but failing on second try. So for me it seems to be something related to SunRay firmware.
I had exactly the same behaviour as Guiseppe who also replied to my email.
What else can I try to make card work?
Thanks in advance.
Daniel.
begin:vcard fn:Daniel Vanco n:Vanco;Daniel org:UNIT Ltd.;Services and support adr:Plynarenska 7/B;;Bratislava Business Center V.;Bratislava;;821 09;Slovak Republic (Slovakia) email;internet:[EMAIL PROTECTED] title:Senior Consultant tel;work:+421 2 50257641 tel;fax:+421 2 50257600 tel;cell:+421 905 899998 x-mozilla-html:FALSE url:http://www.unit.sk version:2.1 end:vcard
_______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
