-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34272/
-----------------------------------------------------------

(Updated May 17, 2015, 6:09 p.m.)


Review request for Ambari, Erik Bergenholtz, John Speidel, and Robert Nettleton.


Changes
-------

Removed code to escape double quotes needed to surround passwords in kadmin 
queries to allow for whitespace characters.


Bugs: AMBARI-11169
    https://issues.apache.org/jira/browse/AMBARI-11169


Repository: ambari


Description
-------

Principals fail to be created if whitespace exists in generated passwords.

#failure condition
```
add_principal -pw 265 V$^+91axff4i56 [email protected]
```
To fix this, quotes are needed around the password:

#fix
```
add_principal -pw "265 V$^+91axff4i56" [email protected]
```


Diffs (updated)
-----

  
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
 5614692 

Diff: https://reviews.apache.org/r/34272/diff/


Testing
-------

Manually tested to ensure whitespace charaters in the password do not cause 
issues creating principals in an MIT KDC.


Thanks,

Robert Levas

Reply via email to