Mercurial > dovecot > original-hg > dovecot-1.2
changeset 905:2d6db119ca9a HEAD
Don't try looking for plaintext user from all realms. It didn't seem to work
before and it's probably not a good idea.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:13:07 +0200 |
parents | 77a0eb2b5397 |
children | b176f913d092 |
files | src/auth/userinfo-passwd-file.c |
diffstat | 1 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/userinfo-passwd-file.c Sun Jan 05 15:11:38 2003 +0200 +++ b/src/auth/userinfo-passwd-file.c Sun Jan 05 15:13:07 2003 +0200 @@ -108,7 +108,6 @@ struct auth_cookie_reply_data *reply) { struct passwd_user *pu; - const char *const *tmp; unsigned char digest[16]; const char *str; @@ -116,15 +115,6 @@ /* find it from all realms */ pu = hash_lookup(passwd_file->users, user); - if (pu == NULL) { - t_push(); - for (tmp = auth_realms; *tmp != NULL; tmp++) { - str = t_strconcat(user, ":", *tmp, NULL); - pu = hash_lookup(passwd_file->users, str); - } - t_pop(); - } - if (pu == NULL) return FALSE;