What steps will reproduce the problem?
1. Use stock prosody-modules
2. Try to use mod_auth_ldap2
3. See error message about Prosody being unable to locate "ldap"
4. mv mod_lib_ldap ldap
5. See that the error message is gone
What version of the product are you using? On what operating system?
Prosody current 0.10 from Hg and Prosody Modules from current Hg. On Linux.
Tagging issue as affecting a community module, not officially supported by the Prosody team.