You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Oleg Nechiporenko <on...@apache.org> on 2015/02/20 14:16:38 UTC

Review Request 31224: Ability to adjust hadoop.security.auth_to_local property on Configure Identities page

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

Review request for Ambari and Andriy Babiichuk.


Bugs: ambari-9722
    https://issues.apache.org/jira/browse/ambari-9722


Repository: ambari


Description
-------

{code}
Configure Identities Page
Update auth_to_local rules
Advanced tab
HDFS
Set hadoop.security.auth_to_local property to:
RULE:[1:$1@$0](.*@<AD REALM>)s/@.*//
_AUTH_TO_LOCAL_RULES
DEFAULT
Note: This will not work right now… the entry box is a one line text box, needs to allow for multiple lines and AuthToLocalBuilder class needs to allow for user-specified rules
Workaround (After completing the Kerberos Wizard):  
Edit HDFS configuration and edit hadoop.security.auth_to_local (under Advanced core-site).  Add the following line above the line that reads “DEFAULT”:
 	RULE:[1:$1@$0](.*@<AD REALM>)s/@.*//
Restart HDFS
{code}
This workaround shoudn't take place and we should be avaliable to adjust property directly in wizard


Diffs
-----

  ambari-web/app/controllers/main/admin/kerberos.js f74db42 
  ambari-web/app/controllers/main/admin/kerberos/step4_controller.js 3043ddd 
  ambari-web/test/controllers/main/admin/kerberos/step4_controller_test.js c86f314 
  ambari-web/test/controllers/main/admin/kerberos_test.js ec80ca2 

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


Testing
-------

5430 tests complete (10 seconds)
  62 tests pending


Thanks,

Oleg Nechiporenko


Re: Review Request 31224: Ability to adjust hadoop.security.auth_to_local property on Configure Identities page

Posted by Andriy Babiichuk <ab...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31224/#review73269
-----------------------------------------------------------

Ship it!


Ship It!

- Andriy Babiichuk


On Фев. 20, 2015, 1:16 п.п., Oleg Nechiporenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31224/
> -----------------------------------------------------------
> 
> (Updated Фев. 20, 2015, 1:16 п.п.)
> 
> 
> Review request for Ambari and Andriy Babiichuk.
> 
> 
> Bugs: ambari-9722
>     https://issues.apache.org/jira/browse/ambari-9722
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> {code}
> Configure Identities Page
> Update auth_to_local rules
> Advanced tab
> HDFS
> Set hadoop.security.auth_to_local property to:
> RULE:[1:$1@$0](.*@<AD REALM>)s/@.*//
> _AUTH_TO_LOCAL_RULES
> DEFAULT
> Note: This will not work right now… the entry box is a one line text box, needs to allow for multiple lines and AuthToLocalBuilder class needs to allow for user-specified rules
> Workaround (After completing the Kerberos Wizard):  
> Edit HDFS configuration and edit hadoop.security.auth_to_local (under Advanced core-site).  Add the following line above the line that reads “DEFAULT”:
>  	RULE:[1:$1@$0](.*@<AD REALM>)s/@.*//
> Restart HDFS
> {code}
> This workaround shoudn't take place and we should be avaliable to adjust property directly in wizard
> 
> 
> Diffs
> -----
> 
>   ambari-web/app/controllers/main/admin/kerberos.js f74db42 
>   ambari-web/app/controllers/main/admin/kerberos/step4_controller.js 3043ddd 
>   ambari-web/test/controllers/main/admin/kerberos/step4_controller_test.js c86f314 
>   ambari-web/test/controllers/main/admin/kerberos_test.js ec80ca2 
> 
> Diff: https://reviews.apache.org/r/31224/diff/
> 
> 
> Testing
> -------
> 
> 5430 tests complete (10 seconds)
>   62 tests pending
> 
> 
> Thanks,
> 
> Oleg Nechiporenko
> 
>