[Dovecot] RC1 broken - Authentication Failed

Marc Perkel marc at perkel.com
Sat Jul 1 22:46:23 EEST 2006



Timo Sirainen wrote:
> On Sat, 2006-07-01 at 11:57 -0700, Marc Perkel wrote:
>   
>> OK - I just tried it again and here's what I got. Switching back to
>> beta 9 fixes it so whatever you changed it started in rc1.
>>     
>
>   
>> dovecot: Jul 01 11:50:59 Error: auth(default): passwd-file /etc/vmail/shadow.ambrynet.com: User pat has invalid 
>> GID -1
>>     
>
> Well, I guess it's these. -1 really is invalid and I think it
> practically means that the process would get root's GID, which really
> isn't a good idea.
>
> I'll add some extra checks to make sure this can't be done with other
> userdbs either..
>   


Here's what a passwd file looks like:

marc:x:40000:12:Marc Perkel:/vhome/perkel.com/home/marc:/bin/false
test:x:40001:12::/vhome/perkel.com/home/test:/bin/false
dd:x:40002:12:Atia:/vhome/perkel.com/home/dd:/bin/false


In case the user numbers are messing things up.

BTW, thanks for looking into this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dovecot.org/pipermail/dovecot/attachments/20060701/db377baf/attachment.html


More information about the dovecot mailing list