We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I'm facing this error :
TASK [openldap_server : add the base domain] ******************************************************************************************************************************************************************************************************************************************************************************** fatal: [hdp-master]: FAILED! => {"changed": true, "cmd": "ldapadd -x -D "cn=Manager,dc=opstake,dc=com" -w passme -f /tmp/domain.ldif && touch /etc/openldap//rootdn_created", "delta": "0:00:00.006919", "end": "2017-07-19 03:21:03.280388", "failed": true, "rc": 255, "start": "2017-07-19 03:21:03.273469", "stderr": "ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)", "stderr_lines": ["ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"], "stdout": "", "stdout_lines": []}
Best regards, Yasser
The text was updated successfully, but these errors were encountered:
(for those who found it via googling) I think, you need to add -h localhost to ldapadd command:
-h localhost
shell: ldapadd -x -h localhost -D "cn=Manager,dc={{ openldap_server_domain_name.split('.')[0] }},dc={{ openldap_server_domain_name.split('.')[1] }}" -w {{ openldap_server_rootpw }} -f {{ result.dest|default(result.path) }} && touch {{ openldap_server_app_path }}/roo tdn_created creates={{ openldap_server_app_path }}/rootdn_created·
Sorry, something went wrong.
@justrp Can confirm this works, thanks!
No branches or pull requests
Hello,
I'm facing this error :
TASK [openldap_server : add the base domain] ********************************************************************************************************************************************************************************************************************************************************************************
fatal: [hdp-master]: FAILED! => {"changed": true, "cmd": "ldapadd -x -D "cn=Manager,dc=opstake,dc=com" -w passme -f /tmp/domain.ldif && touch /etc/openldap//rootdn_created", "delta": "0:00:00.006919", "end": "2017-07-19 03:21:03.280388", "failed": true, "rc": 255, "start": "2017-07-19 03:21:03.273469", "stderr": "ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)", "stderr_lines": ["ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"], "stdout": "", "stdout_lines": []}
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
Best regards,
Yasser
The text was updated successfully, but these errors were encountered: