nethesis / dev

Nethesis issue tracker
http://www.nethesis.it
4 stars 1 forks source link

Ldap phonebook doesn't respect the sizeLimit request parameter #6034

Closed Stell0 closed 3 years ago

Stell0 commented 3 years ago

LDAP has a sizeLimit parameter that define the maximum number of entries of the response. The phonebook doesn't respect this parameter, that is exposed by the library but not yet automatically enforced: "sizeLimit The number of entries to return. Defaults to '0' (unlimited). ldapjs doesn't currently automatically enforce this, but probably will at some point." http://ldapjs.org/server.html

Stell0 commented 3 years ago

Test case:

nethbot commented 3 years ago

in 7.9.2009/nethesis-testing:

nethbot commented 3 years ago

in 7.9.2009/nethesis-updates: