03-12-2012
Smartcard in redhat 5.7
Currently we are using redhat 5.7.We need to configure smartcard authentication.While loading the smartcard reader,.now we are able to see which all readers are connected to system.But not the certificate details.How to get the smartcard certyificate details.Please help me in this regard.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I'm installing RedHat 7.0 on a laptop. As it's a dual boot with win2k I make a boot sector instead of using the MBR. After the install I mark the boot sector active in windows then I can boot into Linux.
First question. When I make the boot sector active it deletes the swap... (3 Replies)
Discussion started by: merlin
3 Replies
2. Linux
hello people i just installed redhat, everything seemes to be fine, but when i start it, it boots up normally and starts firstboot or whatever, then it opens something, i can move the mouse for a while(thats all i see.. first the X then an arrow..) but then the whole computer freezes.. i think the... (3 Replies)
Discussion started by: thenewestuser
3 Replies
3. SuSE
i just bought a redhat 9.0 book which comes with the operating system and Ive install it as a server however Im having difficulties installing Swat and I just wonder if I have to spend buy an enterprise server or what ? (1 Reply)
Discussion started by: keliy1
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
Can anyone tell me briefly the difference between SCO Unix and Linux RedHat?
Thanks (3 Replies)
Discussion started by: homerjj
3 Replies
5. Red Hat
if sombody can help it will be very good.I want to have some information concerning redhat 9.How to go in the internet with :confused: ,how to programmate in c or c++,and finally how i can use it esaly.Sorry for my english i'm a french speaker ;) (1 Reply)
Discussion started by: boyep
1 Replies
6. IP Networking
I have a satellite receiver with Linux OS and networking capabilities, unfortunately without usb connection.
I would like to insert my usb smartcard reader into a PC on the same lan and connect it to the receiver. Up to now I have established nfs connection, exporting /dev directory and... (0 Replies)
Discussion started by: activeco
0 Replies
7. UNIX for Dummies Questions & Answers
Hi, Currently running Redhat 5.8, I am thinking about upgrading to 6. After the upgrade, in case, I want to downgrade. How would I do that?
Please let me know. Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am having a text file with the following contents
###########
File1
###########
some
page1.txt
text
page.txt
When I sort this file on Red Hat 5, then I get the following output
###########
File1
###########
page1.txt
page.txt
some (3 Replies)
Discussion started by: sarbjit
3 Replies
9. Red Hat
What is the best method to use to clone a Redhat machine, to ensure all software and config can be easily installed on new hardware?
Thank you! (3 Replies)
Discussion started by: da2013
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have been in IT for 7 yrs. I worked in different sort of project in unix (know to right shell script). Now I would like to do certification in Red hat (also its mandatory to take). Shall I go for admin or programming certification.
Please help me out which one will suit me, also will... (3 Replies)
Discussion started by: stew
3 Replies
LEARN ABOUT SUNOS
scf_session_getsession
SCF_Session_getSession(3SMARTCARD) Smartcard Library Functions SCF_Session_getSession(3SMARTCARD)
NAME
SCF_Session_getSession - establish a context with a system's smartcard framework
SYNOPSIS
cc [ flag... ] file... -lsmartcard [ library...]
#include <smartcard/scf.h>
SCF_Status_t SCF_Session_getSession(SCF_Session_t *session);
PARAMETERS
session A pointer to an SCF_Session_t. If a session is successfully established, the session will be returned through this parame-
ter.
DESCRIPTION
The SCF_Session_getSession() function establishes a session with the Solaris Smart Card Framework (SCF). Once a session has been opened,
the session can be used with SCF_Session_getTerminal(3SMARTCARD) to access a smartcard terminal (reader). Information about the session can
be obtained by calling SCF_Session_getInfo(3SMARTCARD).
When the session is no longer needed, SCF_Session_close(3SMARTCARD) should be called to end the session and release session resources.
Closing a session will also close any terminals and cards opened within the session.
An application usually needs to open only a single session. For example, multiple terminals can be opened from the same session. If an
appication opens additional sessions, each call will return independent (different) sessions.
RETURN VALUES
Upon success, SCF_STATUS_SUCCESS is returned and session contains a valid session. If a session could not be established, an error value is
returned and session remains unaltered.
ERRORS
The SCF_Session_getSession() function will fail if:
SCF_STATUS_BADARGS The session argument is a null pointer.
SCF_STATUS_COMMERROR The library was unable to contact the smartcard server daemon (ocfserv(1M)), or the library was unable to obtain a
session from the server.
SCF_STATUS_FAILED An internal error occurred.
EXAMPLES
Example 1: Establish a session with the framework.
SCF_Status_t status;
SCF_Session_t mySession;
status = SCF_Session_getSession(&mySession);
if (status != SCF_STATUS_SUCCESS) exit(1);
/* Proceed with other smartcard operations. */
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
libsmartcard(3LIB), SCF_Session_close(3SMARTCARD), SCF_Session_getInfo(3SMARTCARD), SCF_Session_getTerminal(3SMARTCARD), attributes(5)
SunOS 5.10 28 Feb 2001 SCF_Session_getSession(3SMARTCARD)