projects
/
cyrus-sasl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add some comments
[cyrus-sasl.git]
/
plugins
/
gs2.c
diff --git
a/plugins/gs2.c
b/plugins/gs2.c
index
5b87062
..
6bce647
100644
(file)
--- 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') {