312d211 AD: Do not leak file descriptors during machine password renewal

Authored and Committed by jhrozek 7 years ago
    AD: Do not leak file descriptors during machine password renewal
    
    Resolves:
        https://fedorahosted.org/sssd/ticket/3017
    
    The AD renewal task was opening a pipe to write to the child process but
    never closed it, leaking the fd. This patch uses a desctructor we
    already use for pipes towards other child processes.
    
    Reviewed-by: Petr Cech <pcech@redhat.com>