14cb1d0 Ticket 366 - Change DS to purge ticket from krb cache in case of authentication error

Authored and Committed by mreynolds 11 years ago
    Ticket 366 - Change DS to purge ticket from krb cache in case of authentication error
    
    Bug Description:  Under certain circumstances, a replica can be removed, and readded,
                      but the master replica still holds its old kerberos credentials in
                      a cache(ccache).  Until the mater replica is restarted, replication
                      will not resume.
    
    Fix Description:  If a sasl bind fails, ands it a GSSAPI, and the errror is 49, clear
                      out the ccache.
    
                      I also noticed that when this situation arises we report errors when
                      trying to update the referrals in the repl agreement to this replica.
                      The error is 20(type or value exists), and it will log at least one of
                      these messages per update.  The error should not be written to the
                      error log, as it's not a problem that needs reporting.
    
    https://fedorahosted.org/389/ticket/366
    
    reviewed by: richm(Thanks!)
    
        
file modified
+47 -0