You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Attila Magyar (JIRA)" <ji...@apache.org> on 2018/09/26 10:14:00 UTC
[jira] [Created] (AMBARI-24690) Ambari-server setup-ldap throws an
error when the OU has spaces
Attila Magyar created AMBARI-24690:
--------------------------------------
Summary: Ambari-server setup-ldap throws an error when the OU has spaces
Key: AMBARI-24690
URL: https://issues.apache.org/jira/browse/AMBARI-24690
Project: Ambari
Issue Type: Task
Components: ambari-server
Affects Versions: 2.7.0
Reporter: Attila Magyar
Assignee: Attila Magyar
Ambari-server setup-ldap throws an error when the OU has spaces
{code}
ambari-server setup-ldap \
--ldap-url=ldap.example.com:636 \
--ldap-secondary-url=ldap.example.com:636 \
--ldap-ssl=true \
--ldap-user-class=person \
--ldap-user-attr=sAMAccountName \
--ldap-group-class=group \
--ldap-group-attr=cn \
--ldap-member-attr=member \
--ldap-dn=distinguishName \
--ldap-base-dn="OU=Group Users,DC=example,DC=com" \
--ldap-referral=follow \
--ldap-bind-anonym=false \
--ldap-manager-dn=bind@example.com \
--ldap-manager-password=**** \
--ldap-sync-username-collisions-behavior=convert \
--ldap-save-settings
{code}
error message:
{code}
Using python /usr/bin/python
Usage: ambari-server.py action [options]
Options:
-h, --help show this help message and exit
...
--truststore-reconfigure
Force to reconfigure TrustStore if exits
None
Usage: ambari-server.py action [options]
ambari-server.py: error: Invalid number of arguments. Entered: 2, required: 1
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)