X-Git-Url: http://www.project-moonshot.org/gitweb/?p=cyrus-sasl.git;a=blobdiff_plain;f=plugins%2Fgs2.c;h=6bce647f9b3b9155c01098158dbd24debbbc1204;hp=5b8706239a43953c14569e50bf29d6c3e78de384;hb=a5cd23b705b9207328a1d97170723ee8609e304e;hpb=96935f443c908e1e751a25bd91ea4640969fd9cb diff --git a/plugins/gs2.c b/plugins/gs2.c index 5b87062..6bce647 100644 --- a/plugins/gs2.c +++ b/plugins/gs2.c @@ -1571,6 +1571,10 @@ gs2_get_init_creds(context_t *text, } } + /* + * Canonicalize the authentication and authorization identities before + * calling GSS_Import_name. + */ if (auth_result == SASL_OK && user_result == SASL_OK && oparams->authid == NULL) { if (userid == NULL || userid[0] == '\0') {