Support Questions
Find answers, ask questions, and share your expertise

how disable ssl for openldap?

how disable ssl for openldap?

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

Re: how disable ssl for openldap?

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.

Re: how disable ssl for openldap?

Hi @Akhil S Naik

main problem is ssl in openldap.

i want disable ssl in openldap.

how reconfiguration openldap ?