Mercurial > dovecot > core-2.2
diff src/auth/auth-request.h @ 8766:888f57b1bf9c HEAD
DIGEST-MD5: Fixed authentication with user@domain usernames.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 21 Feb 2009 17:10:43 -0500 |
parents | d69763bee853 |
children | fbff8ca77d2e |
line wrap: on
line diff
--- a/src/auth/auth-request.h Sat Feb 21 14:59:33 2009 -0500 +++ b/src/auth/auth-request.h Sat Feb 21 17:10:43 2009 -0500 @@ -40,6 +40,8 @@ /* the username after doing all internal translations, but before being changed by a db lookup */ const char *translated_username; + /* realm for the request, may be specified by some auth mechanisms */ + const char *realm; 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 @@ -84,6 +86,7 @@ unsigned int passdb_internal_failure:1; unsigned int userdb_internal_failure:1; unsigned int delayed_failure:1; + unsigned int domain_is_realm:1; unsigned int accept_input:1; unsigned int no_failure_delay:1; unsigned int no_login:1;