Support Questions

Find answers, ask questions, and share your expertise

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.
    removed = 0
    created = 0
    skipped = 0
    removed = 0
    updated = 0
    created = 0
    updated = 0
    removed = 0
    created = 0
Ambari Server 'sync-ldap' completed successfully.

Hi @abbas mohammadnejad ,

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

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

and Configure Accordingly.

Hi @Akhil S Naik

main problem is ssl in openldap.

i want disable ssl in openldap.

how reconfiguration openldap ?