by throw0101a · 1y ago · 0 comments
I often do
ldapvi -h ldapi:/// -Y EXTERNAL -b 'cn=config'
and another tool could be useful.You don't really have to do much more than that for the purpose of testing this (no creating of accounts, groups, sub-trees, etc).
Perhaps at most go to the stanza/paragraph that defines "olcDbIndex" values, add a new one, and see if a new index file is created in "olcDbDirectory" (often /var/lib/ldap):
* https://www.zytrax.com/books/ldap/apa/indeces.html
* https://warlord0blog.wordpress.com/2020/10/19/ldap-indexes/
Verified the services respond/credentials work [through the UI, my ldapsearch-fu is weak] :)