Skip to content

Using pagination with pageSize=0 returns 0 records #379

Closed
@jonathanvila

Description

@jonathanvila

I'm using SearchWithPagination with a PageSize of 0 , as it is said in the documentation

A requested pagingSize of 0 is interpreted as no limit by LDAP servers.

But the result is always 0 rows.

If I set conn.Debug=true then I see
error running search query "(objectClass=person)": LDAP Result Code 203 "Debugging Error": ldap: cannot process packet to add descr

Specifying a value higher than 0 seems to work fine with no issues.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions