Hi,
I have 2 LDAP servers. The old one is running openldap2-2.3.32 and the new one is running openldap2-2.4.41. They both have identical configuration and data.
Running the following ldapsearch command against the 2 servers only yields results on the old openldap 2.3.32:
ldapsearch -H ldap://server -b 'dc=mycorp,dc=com' -D 'cn=Administrator,dc=mycorp,dc=com' -w 'passwd' '(cn=*)' cn
Aparently every time I am using a filter having the "*" wildcard the new openldap fails to give back any results. Any ideea what is going on?
Thanks
--On Tuesday, June 16, 2020 9:33 AM +0000 mradu@live.com wrote:
Aparently every time I am using a filter having the "*" wildcard the new openldap fails to give back any results. Any ideea what is going on?
Several things:
a) We have no idea what the configuration difference(s) are between your 2.3 and 2.4 systems.
b) 2.4.41 is 5 years old. Use a current release.
c) If you're using your old 2.3 config with 2.4, they are not 100% compatible. Please see: https://www.openldap.org/doc/admin24/appendix-upgrading.html#ACLs:%20searches%20require%20privileges%20on%20the%20search%20base
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org