From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ff4081c70dbc4e56,start X-Google-Attributes: gidfee84,public From: richb@qcunix1.acc.qc.edu (Richard Buchman) Subject: protected password database Date: 1996/11/11 Message-ID: <566e8e$gee@news.cuny.edu>#1/1 X-Deja-AN: 195749903 newsgroups: comp.unix.osf.osf1 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 #include #include #include #include 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