Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* protected password database
@ 1996-11-11  5:00 Richard Buchman
  1996-11-17  5:00 ` Graham Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Buchman @ 1996-11-11  5:00 UTC (permalink / raw)



i seem to be having a problem parsing the users protected database using
getprpwent on an alpha server 2100 running digital unix 3.2b


my includes are
#include <stdio.h>
#include <time.h>
#include <sys/types.h>
#include <sys/security.h>
#include <prot.h>

i set prot as a pointer using : struct pr_passwd *prot;

and do a : set_auth_parameters(1,argv);
next i : setprpwent;
         prot=getprpwent();

this is where the snag comes in.  i need to access the users uid yet 
when i try to access it using prot->fd_uid i get a 'fd_uid not a member of
struct' error. 

the man page for getprpwent says that the pointer returned is a pointer to 
a pr_passwd entry and lists fd_uid as a member of it.

what critical piece am i missing??

rich
---                                \|/    
                                   o o
+---------------------------.oooO--(_)--Oooo.---------------------------+
Richard Buchman
Assistant System Manager/Programmer
Queens College - City University of New York
Flushing, New York
(718) 997-5919
richb@qcunix1.acc.qc.edu
http://richb-pc.acc.qc.edu



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-17  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-11  5:00 protected password database Richard Buchman
1996-11-17  5:00 ` Graham Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox