Rectangle 27 0

Where do you specify the LDAP connection information?

config.ldap_config = "#{Rails.root}/config/ldap.yml

Probably should add that info to the question, properly santized (Do not post real IP's, passwords, etc).

ruby on rails - Devise LDAP authentication dn lookup fails - Stack Ove...

ruby-on-rails ruby ruby-on-rails-3 devise ldap
Rectangle 27 0

If you want create your on user model.

config.ldap_crate_user = true
LDAP: LDAP dn lookup: CN=12345678
   LDAP: LDAP search for login: CN=12345678
   LDAP: LDAP search yielded 0 matches
   LDAP: Authorizing user 12345678@test.ad
   LDAP: LDAP dn lookup: CN=12345678
   LDAP: LDAP search for login: CN=12345678
   LDAP: LDAP search yielded 0 matches

Authentication was success but It did not get any properties.

ruby on rails - Devise LDAP authentication dn lookup fails - Stack Ove...

ruby-on-rails ruby ruby-on-rails-3 devise ldap
Rectangle 27 0

If you want create your on user model.

config.ldap_crate_user = true
LDAP: LDAP dn lookup: CN=12345678
   LDAP: LDAP search for login: CN=12345678
   LDAP: LDAP search yielded 0 matches
   LDAP: Authorizing user 12345678@test.ad
   LDAP: LDAP dn lookup: CN=12345678
   LDAP: LDAP search for login: CN=12345678
   LDAP: LDAP search yielded 0 matches

Authentication was success but It did not get any properties.

ruby on rails - Devise LDAP authentication dn lookup fails - Stack Ove...

ruby-on-rails ruby ruby-on-rails-3 devise ldap
Rectangle 27 0

Where do you specify the LDAP connection information?

config.ldap_config = "#{Rails.root}/config/ldap.yml

Probably should add that info to the question, properly santized (Do not post real IP's, passwords, etc).

ruby on rails - Devise LDAP authentication dn lookup fails - Stack Ove...

ruby-on-rails ruby ruby-on-rails-3 devise ldap