On 15.7.2010, at 22.00, Brad Davidson wrote:
It times out after a minute:
[root@cc-popmap7 ~]# time doveadm director map doveadm(root): Error: User listing returned failure doveadm(root): Error: user listing failed
real 1m0.028s user 0m0.088s sys 0m0.072s
Jul 15 13:46:24 cc-popmap7 dovecot: auth: Error: auth worker: Aborted request: Lookup timed out Jul 15 13:53:25 cc-popmap7 dovecot: auth: Error: getpwent() failed: No such file or directory
I suppose it shouldn't abort if the query keep sending data.. I'll see if I can get this fixed.
userdb passwd. Our LDAP directory might not be optimally configured. The group that administers it only really cares about binds, iteration can be rather slow:
[root@cc-popmap7 ~]# time getent passwd | wc -l 51552
real 8m0.120s user 0m2.507s sys 0m1.093s
That comes out to just over 100 entries a second.
Maybe there could be a parameter to get the user list from a file (one username per line) instead of userdb.