[Dovecot] Multiple values found for 'user', using value
Hi
since latest upgrade on my machine, i have lot of warnings in my log, and i found that it is due this change
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.
Many thanks
Regards
Martin
On Thu, 2011-06-16 at 11:03 +0200, komodo wrote:
Hi
since latest upgrade on my machine, i have lot of warnings in my log, and i found that it is due this change
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?
On Wednesday 22 June 2011 19:37:57 Timo Sirainen wrote:
On Thu, 2011-06-16 at 11:03 +0200, komodo wrote:
Hi
since latest upgrade on my machine, i have lot of warnings in my log, and i found that it is due this change
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@domain, so there is UID username and username@domain.
Martin
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@domain, so there is UID username and username@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.
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@domain, so there is UID username and username@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.
participants (2)
-
komodo
-
Timo Sirainen