Login to CloudForms webui by LDAP user fails due to connection problem to LDAP server. How to change LDAP server details / configuration and point to new server ?

Solution Verified - Updated -

Issue

  • Login to CloudForms webui by LDAP user fails due to connection problem to LDAP server. How to change LDAP server details / configuration and point to new server ?

  • Login to CloudForms webui fails with bellow error in log :

[----] I, [2014-02-10T13:02:09.974940 #26278:155fbcf52644]  INFO -- : MIQ(MiqLdap.initialize) Server Settings: {:ldapport=>"389", :user_type=>"userprincipalname", :user_suffix=>nil, :bind_dn=>nil, :mode=>"ldap", :bind_pwd=>"********", :group_memberships_max_depth=>2, :ldap_role=>false, :follow_referrals=>false, :user_proxies=>[{}], :ldaphost=>["ldap-host.example.com"], :get_direct_groups=>true, :basedn=>nil}
[----] E, [2014-02-10T13:02:10.054519 #26278:155fbcf52644] ERROR -- : [Net::LDAP::LdapError]: unable to establish a connection to server  Method:[authenticate]
[----] E, [2014-02-10T13:02:10.054681 #26278:155fbcf52644] ERROR -- : /var/www/miq/vmdb/app/models/miq_ldap.rb:77:in `resolve_host'

Environment

  • CloudForms Management Engine (CFME)
  • LDAP authentication configured

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.