Segmentation fault on doveadm search -A with a huge user base
Heiko Schlittermann
hs at schlittermann.de
Fri Feb 12 23:34:47 UTC 2016
Andrey Fesenko <f0andrey at gmail.com> (Sa 13 Feb 2016 00:01:01 CET):
…
Thank you for your fast response…
doveadm user \*
works on the director, gives us 4711 users.
The LDAP limits are 'unlimited'.
> For dovecot with LDAP we make this
> After fix dovecot-ldap.conf
>
> user_filter = (&(objectClass=posixAccount)(uid=%u)(BackendHost=backend1.wibble.net))
> pass_attrs = uid=user,userPassword=password
> pass_filter = (&(objectClass=posixAccount)(uid=%u))
> # For using doveadm -A:
> iterate_attrs = uid=user
> iterate_filter = (&(objectClass=posixAccount)(BackendHost=backend1.wibble.net))
>
> Work perfect
>
> > doveadm: Error: Failed to iterate through some users
Yes, but I *can* iterate through the users…
# ldapsearch -x -w $(<private/ldap.pw) objectClass=hqmMailRecipient -LLL | grep -c ^dn
# doveadm user \* | wc -l
is 4711 in both cases.
And .. eigher way, segmentation fault… isn't what I'd expect here.
--
Heiko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20160213/a6a3406e/attachment.sig>
More information about the dovecot
mailing list