9ef2f2a Allocate PAM DP request data on responder context

Authored and Committed by jhrozek 10 years ago
    Allocate PAM DP request data on responder context
    
    https://fedorahosted.org/sssd/ticket/1869
    
    Currently the private data passed to the PAM request is a structure
    allocated on the client context. But in the odd case where the back end
    would be stopped or stuck until the idle timeout hits, the DP callback
    would access data that were freed when the client timed out.
    
    This patch introduces a new structure allocated on responder context,
    whose only purpose is to live as long as the request is active.
    
        
file modified
+6 -0
file modified
+36 -5