I recently ran into an issue where I checked in an updated schema but it wont get reflected. The ops kept saying its updated but the app code wont show it.
Anyways to prove I thought how can I dump the ldap schema and finally found
ldapsearch -LLL -x -h "xxx.xxx.202.131" -b cn=Subschema -s base '(objectClass=subschema)' +
Ensure you dont miss the + sign in the end as I didnt added it and spent 15 extra min debugging it.