Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

how disable ssl for openldap?

avatar

because i don't currect add ssl to openldap, when i want to add ambari users i have problem.

this reason i want disable ssl for openldap and re-config that.

for bellow comment problem:

#ldapsearch -x cn=user -b dc=hortonworks,dc=com
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)


and don't add any user to ldap:

#ambari-server sync-ldap --all
Using python  /usr/bin/python
Syncing with LDAP...
Enter Ambari Admin login: admin
Enter Ambari Admin password: 

Fetching LDAP configuration from DB.
Syncing all...

Completed LDAP Sync.
Summary:
  memberships:
    removed = 0
    created = 0
  users:
    skipped = 0
    removed = 0
    updated = 0
    created = 0
  groups:
    updated = 0
    removed = 0
    created = 0
Ambari Server 'sync-ldap' completed successfully.
2 REPLIES 2

avatar

Hi @abbas mohammadnejad ,

If you want ambari to use SSL for synching the LDAP , You should be reconfiguring the LDAP referring to

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.2/bk_ambari-security/content/configure_ambari...

you can again run the command : ambari-server setup-ldap

and Configure Accordingly.

avatar

Hi @Akhil S Naik

main problem is ssl in openldap.

i want disable ssl in openldap.

how reconfiguration openldap ?