bd95221 Ticket #47478 No groups file? error restarting Admin server

Authored and Committed by rmeggins 7 years ago
    Ticket #47478 No groups file? error restarting Admin server
    
    https://fedorahosted.org/389/ticket/47478
    Reviewed by: nkinder (Thanks!)
    Branch: master
    Fix Description: When Apache runs the CGI, it has to run through all of the
    hooks/callbacks again, including the authz callbacks, via a sub-request.
    For the sub-request, admserv_check_authz was just returning DECLINED, which
    means "I decline to answer this request for authz, go to the next handler".
    It was then doing regular Apache authz handling, including looking at the
    groups file.  The fix is to remember what the original authz return value was,
    and just return that if being called as part of a sub-request.
    Platforms tested: RHEL6 x86_64
    Flag Day: no
    Doc impact: no
    
        
file modified
+53 -25