[Dovecot] BUG: mishandling of username if it's a keyword?

Jack Bates jbates at brightok.net
Fri Dec 14 18:04:50 EET 2012


Dec 14 14:33:14 test2 dovecot: auth: Debug: master userdb out: 
USER#0112033451009#011uid=503#011gid=503#011home=/nfs/maildir/vmail/home#011mail_location=maildir:~/Maildir
Dec 14 14:37:25 test2 dovecot: auth: Debug: master userdb out: 
USER#011477757441#011home2#011uid=503#011gid=503#011home=/nfs/maildir/vmail/home2#011mail_location=maildir:~/Maildir
Dec 14 15:44:23 test2 dovecot: auth: Debug: master userdb out: 
USER#0113466592257#011uid=503#011gid=503#011home=/nfs/maildir/vmail/home#011mail_location=maildir:~/Maildir

Looking at the proper home2 account, it appears that the username "home" 
is being left out. This is definitely an issue with auth userdb.

This was on 2.1.12. I upgraded.

Jack

On 12/14/2012 10:00 AM, Jack Bates wrote:
> Additional info by switching the home= and uid= settings in the config.
>
> userdb {
>   args = home=/nfs/maildir/vmail/%u uid=vmail gid=vmail 
> mail_location=maildir:~/Maildir
>   driver = static
> }
>
> We got the effective id, but then home was unset and the user became 
> the home setting. lol
>




More information about the dovecot mailing list