Ldap filter not working for filtering out OU
I am looking to filter out an OU. For example, I would like to filter out OU=Designers
OU=Designers,OU=Employees,DC=company,DC=com
How to retrieve the schema version of LDAP server with ldapsearch?
Is it possible to retrieve such property from, for example, by querying the Root DSE or the schema? I read that the objectVersion property contain such information (see https://blog.netwrix.com/2023/04/06/get-adobject-cmdlet-in-powershell/), but I cannot retrieve this information using a client like ldapsearch.