-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56054/
-----------------------------------------------------------
Review request for Ambari, Attila Magyar, Balázs Bence Sári, Eugene Chekanskiy,
Laszlo Puskas, and Sebastian Toader.
Bugs: AMBARI-19767
https://issues.apache.org/jira/browse/AMBARI-19767
Repository: ambari
Description
-------
Facing issue with local to auth rules.
[email protected] is getting converted to ambari-qa-cl1 as well as
ambari-qa with same ambari configuration ie
authentication.kerberos.auth_to_local.rules=DEFAULT.
1st translation :
```
28 Jan 2017 11:44:45,529 INFO [ambari-client-thread-3298]
AmbariAuthToLocalUserDetailsService:102 - Translated [email protected]
to ambari-qa-cl1 using auth-to-local rules during Kerberos authentication.
```
2nd translation :
```
28 Jan 2017 11:47:36,425 INFO [ambari-client-thread-3172]
AmbariAuthToLocalUserDetailsService:102 - Translated [email protected]
to ambari-qa using auth-to-local rules during Kerberos authentication.
28 Jan 2017 11:47:36,428 WARN [ambari-client-thread-3172]
AmbariAuthToLocalUserDetailsService:136 - Failed find user account for user
with username of ambari-qa during Kerberos authentication.
28
```
Since authentication.kerberos.auth_to_local.rules=DEFAULT ,
'[email protected]' should have been translated to 'ambari-qa-cl1'.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/security/authentication/kerberos/AmbariAuthToLocalUserDetailsService.java
c85503c
Diff: https://reviews.apache.org/r/56054/diff/
Testing
-------
# Jenkins test results: PENDING
Thanks,
Robert Levas