I am building a Web Application using Ruby on Rails, i want to build authentication with active directory via LDAP. And i have no idea how to authenticate with active directory via LDAP.
Can someone provide me how to code it and where we have to put the code.