Resolves: bug 476891
Bug Description: Replication: Server to Server Connection Error:
SASL(-1): generic failure: All-whitespace username.
Reviewed by: ???
Files: see diff
Fix Description: My earlier fix for this bug broke GSSAPI - it would
cause the username and authid to only be freed under certain conditions
e.g. if the krb creds were still valid, the code would not free the
username and authid, so they would be passed via SASL instead of the
principal name. This fix just makes sure username and authid are always
freed, under all circumstances.
Platforms tested: RHEL5, Fedora 9
Flag Day: no
Doc impact: no