Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.0
-
None
Description
Ambari-server setup-ldap throws an error when the OU has spaces
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
error message:
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