…s spaces (amagyar)

## What changes were proposed in this pull request?

Running 

```txt
$ ambari-server some-action --param-name="value with spaces"
```

fails because the /sbin/ambari-server shellscript strips the quotes when it 
passes the arguments ($@) to the python script.

## How was this patch tested?

Tested with some ambari-server commands, including:

```txt
$ 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  
[email protected]  --ldap-manager-password=****  
--ldap-sync-username-collisions-behavior=convert  --ldap-save-settings
```

checked ambari.ldap.attributes.user.search_base in the response of

```txt
http://AMBARI_SERVER/api/v1/services/AMBARI/components/AMBARI_SERVER/configurations/ldap-configuration
```

[ Full content available at: https://github.com/apache/ambari/pull/2382 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to