diff src/auth/auth-request.h @ 6658:d22888a77a1e HEAD

Auth cache didn't work for usernames that got translated internally.
author Timo Sirainen <tss@iki.fi>
date Fri, 02 Nov 2007 17:09:46 +0200
parents 2a36e7d9ddb6
children fb03422c0760
line wrap: on
line diff
--- a/src/auth/auth-request.h	Fri Nov 02 16:37:05 2007 +0200
+++ b/src/auth/auth-request.h	Fri Nov 02 17:09:46 2007 +0200
@@ -37,6 +37,9 @@
 	   verification. however with master logins the master username has
 	   been dropped from it. */
 	const char *original_username;
+	/* the username after doing all internal translations, but before
+	   being changed by a db lookup */
+	const char *translated_username;
 	char *mech_password; /* set if verify_plain() is called */
 	char *passdb_password; /* set after password lookup if successful */
         /* extra_fields are returned in authentication reply. Fields prefixed