|
sia_make_entity_pwd(3)
Contents
|
sia_make_entity_pwd - Make entity password - SIA (Security
Integration Architecture)
#include <siad.h> #include <signal.h> #include <setjmp.h>
int sia_make_entity_pwd(
struct passwd *pwd,
SIAENTITY *entity );
Standard C library (libc.so and libc.a)
The entity parameter points to the SIAENTITY structure
that will have its pwd data updated. The values in the
SIAENTITY structure are changed by this routine. The pwd
parameter points to the passwd structure that will have
its data duplicated by the pwd field of the entity structure.
The sia_make_entity_pwd() routine fills in the pwd field
of the entity structure, using malloc() to ensure that the
copied data is not overwritten by subsequent calls to getpwent().
The sia_make_entity_pwd() routine returns SIASUCCESS or
SIAFAIL.
The errno value is not (normally) set explicitly by sia_*
routines. The errno values are those returned from the
dynamic loader interface, from dependent (siad_*) routines,
or from malloc. Possible errors include resource
constraints (no memory) and various authentication failures.
/etc/passwd
sia_ses_init(3)
Security
sia_make_entity_pwd(3)
[ Back ] |