Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: richb@qcunix1.acc.qc.edu (Richard Buchman)
Subject: protected password database
Date: 1996/11/11	[thread overview]
Message-ID: <566e8e$gee@news.cuny.edu> (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



             reply	other threads:[~1996-11-11  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-11  5:00 Richard Buchman [this message]
1996-11-17  5:00 ` protected password database Graham Jones
read-only archive

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