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

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


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
-----

  
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