doncicuto / glim

Glim is a simple identity access management system that speaks some LDAP and has a REST API to manage users and groups
Other
23 stars 0 forks source link

Add pagination to search for LDAP queries and use also sizeLimit #43

Closed doncicuto closed 2 years ago

doncicuto commented 2 years ago

Size limit can be set using -z in ldapSearch, for example:

LDAPTLS_CACERT=~/.glim/ca.pem ldapsearch -x -D "cn=search,dc=example,dc=org" -W -b "ou=Users,dc=example,dc=org" -H ldaps://192.168.1.136:1636 -z 3

Pagination in OpenLDAP can be set using -E pr=100/prompt or noprompt