Walt,

        i don't think you're right.

        he is looping from the end of the buffer to the beginning.

        SRCHLOOP CR    R7,R8                    start of buffer reached?
                 BE    FINAL                    yes, exit
                 CLC   0(R9,R8),FILTER  'filter('found?
                 BE    BADRC                    yes,
                 S     R8,ONE                   subtract 1 from pointer
                 B     SRCHLOOP                 try from previous position

        Mvg,

        Hans Visser

        Technisch Specialist

        Getronics PinkRoccade

        E:      [EMAIL PROTECTED]
        I:      www.getronicspinkroccade.nl
 



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]
Behalf Of Walt Farrell
Sent: woensdag 16 april 2008 21:16
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: IRREVX01 strangeness


On Wed, 16 Apr 2008 09:46:49 -0500, Paul Whelan <[EMAIL PROTECTED]> wrote:

>I'm trying to use the RACF command exit IRREVX01 to limit the types of
>searches submitted through a z/OS LDAP server and am seeing some very
>strange behaviour that I can't understand. If I tell the exit to reject any
>search command containing FILTER(*) the exit works perfectly and if I tell
>the exit to reject any search containing FILTER(SI1*) it also works perfectly.
>
>However, as we need to reject certain FILTER values I need to be a bit more
>selective and first of all find FILTER( in the command then process the
>FILTER argument(s) to decide whether to reject the command or not which is
>where I am coming unstuck. If I tell the exit to reject FILTER( (as a first
>pass before further refining the exit to check the arguments) it does not
>work, that is to say, it does not find FILTER(. It is also incapable of
>finding just FILTER.
>

Your exit seems to expect "FILTER(" exactly at the end of the command
buffer.  It won't be there. 
While the FILTER keyword may be last in the buffer, the string "FILTER("
would not be last, as the operand (e.g., "*)" ) will follow it.

Assuming your earlier versions looked for FILTER(*) at the end, that would
have worked.  Or looking for FILTER(SI1*) at the end would have worked.  But
not looking for FILTER( at the end.

-- 
  Walt Farrell, CISSP
  IBM STSM, z/OS Security Design

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

  • ... Paul Whelan
    • ... Binyamin Dissen
    • ... Visser, Hans (PinkRoccade Infrastructure Services Technisch Specialist)
    • ... Walt Farrell
      • ... Visser, Hans (PinkRoccade Infrastructure Services Technisch Specialist)
        • ... William H. Blair
    • ... Tom Schmidt
    • ... Paul Whelan
      • ... Binyamin Dissen
      • ... Chase, John
        • ... McKown, John
          • ... Rick Fochtman
    • ... Paul Whelan
    • ... Tom Marchant
    • ... Bill Wilkie

Reply via email to