Note: you should just use the username to load a user from LDAP, eg, just “tejas” not “uid=tejas” in the form.
The error is an LDAP configuration issue, for example, in some ActiveDirectory setups, anonymous bind is allowed, but anonymous search is not. You can use the following command to get more detailed debug output to help figure out what is wrong w/ your specific LDAP server configuration: