Andrey Fesenko <f0and...@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

Attachment: signature.asc
Description: Digital signature

Reply via email to