Hi friends, I have made the necessary changes in auth_ldap_bind plugin. The plugin will now bind to a ldap directory that does not allow anonymous bind using a binddn and password, if it is provided. It will first check if a binddn and password is provided in the "ldap" config file. If it is then it will bind to the ldap directory using it and then search for the user who is logged in and then rebind using that user. If binddn is not provided then it assumes that anonymous binding is allowed and searches the ldap directory for the user and then binds using that user to check the credentials of the user who is logged in.
Please review the patch and tell me how I can improve it. -- Regards, Vignesh. http://www.deeproot.in Ph: +91 (80) 4089 0000
patch
Description: Binary data