Altai-man / cro-ldap

LDAP support for the Cro library for building distributed systems in Raku
Artistic License 2.0
9 stars 0 forks source link

Re-design controls #9

Open Altai-man opened 5 years ago

Altai-man commented 5 years ago
Altai-man commented 5 years ago

@abraxxa Pagination control is implemented along with means to handle such things in a more generic ways. A working example can be found at https://github.com/Altai-man/cro-ldap/blob/master/t/09-ext-controls.t

abraxxa commented 4 years ago

As noted on IRC our query against Active Directory still fails at random pages with error K00002040: SvcErr: DSID-031, problem 5 (UNAVAIL_EXTENSION) which can only be seen with CRO_TRACE.

Altai-man commented 4 years ago

Is it able to finish a single search? For example, in https://github.com/Altai-man/cro-ldap/blob/master/t/09-ext-controls.t#L31 <- how many iterations are done? Is the number changes?

Also, are base dn for search and filter stay the same?

abraxxa commented 4 years ago

I tried fetching 500 entries which seems to be the default AD limit per page and also only 10 and it stops after one, two or sometimes up to six pages, different with each execution.