samba-tool ldapcmp hangs when too much objects in Samba database

mathias dufresne infractory at gmail.com
Fri Oct 30 12:13:58 UTC 2015


2015-10-30 10:09 GMT+01:00 Andrew Bartlett <abartlet at samba.org>:

> On Fri, 2015-10-30 at 09:51 +0100, mathias dufresne wrote:
> > Hey,
> >
> > I tried to use ldapcmp using tdb:// rather than ldap:// and the
> > process
> > finished successfully. I copied the whole private directory from one
> > DC to
> > the one where the ldapcmp was performed.
> >
> > Hoping this could help when someone would dig into that issue.
> >
> > Now I'll try the same through NFS rather than copying files, trying
> > to get
> > a better workaround than using a copy.
>
> TDB files should never be accessed over NFS.
>

Agreed. Unfortunately as ldapcmp does not work through ldap if database
contains too much objects and because the database I have contains too much
objects, I need a workaround :)


>
> Andrew Bartlett
>
> --
> Andrew Bartlett                       http://samba.org/~abartlet/
> Authentication Developer, Samba Team  http://samba.org
> Samba Developer, Catalyst IT
> http://catalyst.net.nz/services/samba
>
>
>
>


More information about the samba-technical mailing list