[Dovecot] Multiple values found for 'user', using value

Timo Sirainen tss at iki.fi
Tue Jun 28 03:39:54 EEST 2011


On Tue, 2011-06-28 at 03:38 +0300, Timo Sirainen wrote:
> On Thu, 2011-06-23 at 09:24 +0200, komodo wrote:
> > > > http://www.dovecot.org/list/dovecot-cvs/2011-February/018588.html
> > > > 
> > > > Is there any option to disable these warnings ? Yes we have multiple UIDs
> > > > so these warnings bothers me.
> > > 
> > > LDAP protocol doesn't give guarantees about values being returned in any
> > > specific order. Does your LDAP server? If you have multiple UIDs, do you
> > > always want the first one to be used? Why do you have multiple?
> > 
> > Hi, miltiple UIDs are for historical reason, there was requirement to be able login with username 
> > and username at domain, so there is UID username and username at domain.
> 
> Does the first "username" UID match a username in /etc/passwd (or
> NIS/whatever)? This kind of sounds like a misconfiguration. You probably
> shouldn't be returning the "uid" field at all to Dovecot.

Oops, I read the subject only after sending. Yeah, I guess that's
intentional then. Still, an alternative might be not to return the
uid=user field? Unless there's some kind of a username translation.




More information about the dovecot mailing list