I'm trying to port an RPC program from Solaris 1 to Solaris 2. Some of the
routines it provides are a bit sensitive ("DELUSERSFILES" springs to mind
...), so under Solaris 1 I used `svc_getcaller' to check the request was
coming from a privileged port on a trusted machine. Trying the same thing on
Solaris 2 seems to return junk: svc_getcaller(rqstp->rq_xprt) returns things
like AF_INET port 34224 address 0.0.0.0.
I've tried cc vs. gcc, and running under inetd vs. not. Can anyone guess from
this what I'm doing wrong ? Can anyone confirm that this should work ? Is
there a cleaner way to do this authentication ?
UUCP: ...!mcsun!uknet!warwick!cudcv PHONE: +44 203 523037
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England