[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racf-l
Subject:    Re: Debugging "parameter error" from R-ticketserv
From:       Charles Mills <charlesm () MCN ! ORG>
Date:       2017-06-28 19:51:32
Message-ID: 096601d2f047$f1b71ee0$d5255ca0$ () mcn ! org
[Download RAW message or body]

That was it! I had just found it. I had it half right -- had the pointer to
the value, but C++ was dereferencing it, so I ended up just calling with the
value. Two levels of abstraction here: figuring out what the darned service
wants, and then figuring out how to make C++ do that. Needed unsigned int
**Ticket_options -- a pointer to a pointer.

All working, just like that. Got the profile name right on the first try.
Took about three tries, though, to get the commands right.

Thanks for all your help.

Charles


-----Original Message-----
From: RACF Discussion List [mailto:RACF-L@LISTSERV.UGA.EDU] On Behalf Of
Marc Van der Meer1
Sent: Wednesday, June 28, 2017 12:09 PM
To: RACF-L@LISTSERV.UGA.EDU
Subject: Re: Debugging "parameter error" from R-ticketserv

Sorry, you're on your own here ;-) no indication to which parameter might be
in error. Here's a hint though - the ticket_options parameter is a pointer
to a pointer to a value. Went wrong myself there until I re-read the manual.



Regards,

Marc van der Meer
Senior IT specialist STG z Systems Lab Services








From:   Charles Mills <charlesm@MCN.ORG>
To:     RACF-L@LISTSERV.UGA.EDU
Date:   28.06.2017 20:17
Subject:        Debugging "parameter error" from R-ticketserv
Sent by:        RACF Discussion List <RACF-L@LISTSERV.UGA.EDU>



Having given up on wrestling with R_GenSec's strange hybrid 64/31-bit
linkage requirements, I have turned to R_ticketserv. I have a prototype
coded up following the example for r_auditx in /usr/include/irrc.h.

I'm getting SAF Return 8, RACF Return 8, RACF Reason 4 = "Parameter list
error."

I'm wondering how I might go about debugging this. I've desk-checked the
code against the specifications in the manual. I don't claim coding
perfection, but how do I get a clue which parameter might be in error?

Charles 




Tenzij hierboven anders aangegeven: / Unless stated otherwise above:
IBM Nederland B.V.
Gevestigd te Amsterdam
Inschrijving Handelsregister Amsterdam Nr. 33054214
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic