The current version of OpenLDAP in OpenWrt is 2.6.4. I couldn't find any 2.3.32 build of OpenLDAP, and I went back to 17.01. I suspect you are not using official OpenWrt but rather a fork (the path suggests Ruckus' fork for the R770).
You have two options:
Switch to a supported OpenWrt build (23.05 at the time of this writing)
Issue is password is not going in a BindRequest message on openWrt(not working) framework. But whereas on the other framework like buildroot(working) password is going in BindRequest message to LDAP server in a BindRequest.
So, to solve the above issue in openWrt framework, do I need to upgrade OpenLDAP to 2.6.4 from 2.3.32 on openWrt framework? Or is there any other solution to solve above password not included problem on openWrtBindRequest message. Please help to confirm.
Where did you get this version from?
How did you install ldapsearch?
According to the sources, the OpenLDAP version in 21.02 is 2.4.58.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.
No need to upgrade the openWrt version , following is the rootcause and solution worked
RootCause:
openldap cyrus_sasl library linked to openwrt
ldap client and server binding ldapsearch command formatting BaseDomain and Password.
OWRT framework is not allowed to bind request bind password
Solution:
1. Updated openldap Makefile to disable cyrus_sasl library (not needed for simple authentication)
2. Updated code to fix the OpenLDAP , Changed the ldapsearch client sending bind request messaging format