31bd87a Check for duplicate winsync agreement before trying to set one up.

1 file Authored by rcritten 12 years ago, Committed by mkosek 12 years ago,
    Check for duplicate winsync agreement before trying to set one up.
    
    We currently only support a single winsync agreement so all we need
    to do is check to see if we have one with the remote host.
    
    This also adds some minor exception handling cleanup.
    
    https://fedorahosted.org/freeipa/ticket/2130