[Dovecot] Problem using passwd-file authentication: does not read UID, GID

Timo Sirainen tss at iki.fi
Sun Jan 30 11:04:35 EET 2005


On 12.1.2005, at 03:28, Joseph Tam wrote:

> When userdb-passwd-file.c::passwd_file_init() is called, it compares 
> the
> userdb passwd-file to the passdb passwd-file.  If they are the same, 
> it resets
> the time stamp to force a re-read of the password database during the 
> next
> look-up.  However, I believe it also needs to reset the 
> userdb_pwf->userdb
> flag to TRUE or else it won't pick up the UID and GID and will use 0 
> instead:

Fixed, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050130/d8ab659a/attachment-0001.bin>


More information about the dovecot mailing list