[python-ldap] LDIFParser seems to only parse 200 out of 9K odd records
michael at stroeder.com
Thu Sep 7 18:32:34 EDT 2017
Ritesh Nadhani wrote:
> I have a file generated by ldapsearch using -LLL format and
> ldasearch .... -E pr=200/noprompt ...
> When I parse the above file, it seems it only parses 200
> records and stops.
> To me it seems this line is the culprit:
> # pagedresults:
Yes, that does not seem like valid LDIF to me.
Why don't you implement the LDAP search with paged results control
in a Python script? This would give you more control over it
anyway than using CLI tools.
See examples scripts:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3829 bytes
Desc: S/MIME Cryptographic Signature
More information about the python-ldap