note about name canon
authorLuke Howard <lukeh@padl.com>
Mon, 27 Sep 2010 20:44:25 +0000 (22:44 +0200)
committerLuke Howard <lukeh@padl.com>
Mon, 27 Sep 2010 20:44:25 +0000 (22:44 +0200)
plugins/gs2.c

index df15ba8..07f6140 100644 (file)
@@ -1673,6 +1673,10 @@ gs2_get_init_creds(context_t *text,
         if (result == SASL_OK)
             result = SASL_INTERACT;
     } else if (oparams->authid == NULL) {
+        /*
+         * XXX we acquired GSS credentials pre-canonicalisation. Just noting
+         * this might cause some problems with applications.
+         */
         if (userid == NULL || userid[0] == '\0') {
             result = params->canon_user(params->utils->conn, authid, 0,
                                         SASL_CU_AUTHID | SASL_CU_AUTHZID,