I have used following gems for LDAP authentication using Devise:
gem 'devise' gem 'devise_ldap_authenticatable'
It is working fine and i am able to login into my web application but i had to create the same user into the local database first to get authenticated in the application.
1. What i want is a provision using same GEM that would allow me to get login (with email address and password) into application even if my account is not created in the local database. Apparently, my account should be created automatically by the system into local database if it (email address) is not there.
2. I also want to sync my local user information (first name, last name, password) with the user located at LDAP.