[jira] [Updated] (AMBARI-19430) Use common property for principal name prefix to help with customization of unique principal names

2017-08-17 Thread Sumit Mohanty (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-19430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sumit Mohanty updated AMBARI-19430:
---
Fix Version/s: 2.5.0

> Use common property for principal name prefix to help with customization of 
> unique principal names
> --
>
> Key: AMBARI-19430
> URL: https://issues.apache.org/jira/browse/AMBARI-19430
> Project: Ambari
>  Issue Type: Bug
>Reporter: Robert Levas
>Assignee: Robert Levas
>  Labels: kerberos, kerberos_descriptor
> Fix For: 2.5.0
>
> Attachments: AMBARI-19430_branch-2.5_01.patch, 
> AMBARI-19430_trunk_01.patch
>
>
> Use common property for principal name prefix to help with customization of 
> unique principal names.  
> All _headless_ Kerberos identities have a non-unique principal name (across 
> clusters). To help this issue, the cluster name is appended to these 
> principal names by adding "-$\{cluster-name|toLower()\}" after the principal 
> name component. If the user wants to change this convention, they will need 
> to find all _headless_ principals and make the change. On top of that, when 
> adding new components, they will need to remember to make the change to new 
> _headless_ principal names. 
> A better solution is to provide a _global_ property named "principal_suffix" 
> and use that in each _headless_ principal name. By default the value for this 
> property will be
> {code}
> principal_suffix="-${cluster_name|toLower()}"
> {code}
> If the user would like not use a prefix (in the event there is only a single 
> cluster connecting to the KDC), the value can be changed to
> {code}
> principal_suffix=""
> {code}
> Finally if the user would like to use some other randomizer, they can set the 
> value to something else. For example
> {code}
> principal_suffix="_12345"
> {code}
> The property is set in the Kerberos descriptor's "properties" block.   For 
> example:
> {code}
> {
>   "properties": {
> "realm": "${kerberos-env/realm}",
> ...,
> "principal_suffix": "${cluster_name|toLower()}"
>   },
>   "identities": [
> ..., 
> {
>   "name": "smokeuser",
>   "principal": {
> "value": "${cluster-env/smokeuser}-${principal_suffix}@${realm}",
> "type": "user",
> "configuration": "cluster-env/smokeuser_principal_name",
> "local_username": "${cluster-env/smokeuser}"
>   },
>   ...
> }
>   ],
>   "services": [
> {
> {code} 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-19430) Use common property for principal name prefix to help with customization of unique principal names

2017-01-16 Thread Robert Levas (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-19430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas updated AMBARI-19430:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed to trunk
{noformat}
commit 3b9e20e88beb9ed6749b1d07c2480497a7924dd4
Author: Robert Levas 
Date:   Mon Jan 16 12:21:46 2017 -0500
{noformat}

Committed to branch-2.5
{noformat}
commit 43f8f73ee97c0cc369c1d6ec8e356c290a28c6c1
Author: Robert Levas 
Date:   Mon Jan 16 13:57:36 2017 -0500
{noformat}


> Use common property for principal name prefix to help with customization of 
> unique principal names
> --
>
> Key: AMBARI-19430
> URL: https://issues.apache.org/jira/browse/AMBARI-19430
> Project: Ambari
>  Issue Type: Bug
>Reporter: Robert Levas
>Assignee: Robert Levas
>  Labels: kerberos, kerberos_descriptor
> Attachments: AMBARI-19430_branch-2.5_01.patch, 
> AMBARI-19430_trunk_01.patch
>
>
> Use common property for principal name prefix to help with customization of 
> unique principal names.  
> All _headless_ Kerberos identities have a non-unique principal name (across 
> clusters). To help this issue, the cluster name is appended to these 
> principal names by adding "-$\{cluster-name|toLower()\}" after the principal 
> name component. If the user wants to change this convention, they will need 
> to find all _headless_ principals and make the change. On top of that, when 
> adding new components, they will need to remember to make the change to new 
> _headless_ principal names. 
> A better solution is to provide a _global_ property named "principal_suffix" 
> and use that in each _headless_ principal name. By default the value for this 
> property will be
> {code}
> principal_suffix="-${cluster_name|toLower()}"
> {code}
> If the user would like not use a prefix (in the event there is only a single 
> cluster connecting to the KDC), the value can be changed to
> {code}
> principal_suffix=""
> {code}
> Finally if the user would like to use some other randomizer, they can set the 
> value to something else. For example
> {code}
> principal_suffix="_12345"
> {code}
> The property is set in the Kerberos descriptor's "properties" block.   For 
> example:
> {code}
> {
>   "properties": {
> "realm": "${kerberos-env/realm}",
> ...,
> "principal_suffix": "${cluster_name|toLower()}"
>   },
>   "identities": [
> ..., 
> {
>   "name": "smokeuser",
>   "principal": {
> "value": "${cluster-env/smokeuser}-${principal_suffix}@${realm}",
> "type": "user",
> "configuration": "cluster-env/smokeuser_principal_name",
> "local_username": "${cluster-env/smokeuser}"
>   },
>   ...
> }
>   ],
>   "services": [
> {
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (AMBARI-19430) Use common property for principal name prefix to help with customization of unique principal names

2017-01-13 Thread Robert Levas (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-19430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas updated AMBARI-19430:
--
Status: Patch Available  (was: In Progress)

> Use common property for principal name prefix to help with customization of 
> unique principal names
> --
>
> Key: AMBARI-19430
> URL: https://issues.apache.org/jira/browse/AMBARI-19430
> Project: Ambari
>  Issue Type: Bug
>Reporter: Robert Levas
>Assignee: Robert Levas
>  Labels: kerberos, kerberos_descriptor
> Attachments: AMBARI-19430_branch-2.5_01.patch, 
> AMBARI-19430_trunk_01.patch
>
>
> Use common property for principal name prefix to help with customization of 
> unique principal names.  
> All _headless_ Kerberos identities have a non-unique principal name (across 
> clusters). To help this issue, the cluster name is appended to these 
> principal names by adding "-$\{cluster-name|toLower()\}" after the principal 
> name component. If the user wants to change this convention, they will need 
> to find all _headless_ principals and make the change. On top of that, when 
> adding new components, they will need to remember to make the change to new 
> _headless_ principal names. 
> A better solution is to provide a _global_ property named "principal_suffix" 
> and use that in each _headless_ principal name. By default the value for this 
> property will be
> {code}
> principal_suffix="-${cluster_name|toLower()}"
> {code}
> If the user would like not use a prefix (in the event there is only a single 
> cluster connecting to the KDC), the value can be changed to
> {code}
> principal_suffix=""
> {code}
> Finally if the user would like to use some other randomizer, they can set the 
> value to something else. For example
> {code}
> principal_suffix="_12345"
> {code}
> The property is set in the Kerberos descriptor's "properties" block.   For 
> example:
> {code}
> {
>   "properties": {
> "realm": "${kerberos-env/realm}",
> ...,
> "principal_suffix": "${cluster_name|toLower()}"
>   },
>   "identities": [
> ..., 
> {
>   "name": "smokeuser",
>   "principal": {
> "value": "${cluster-env/smokeuser}-${principal_suffix}@${realm}",
> "type": "user",
> "configuration": "cluster-env/smokeuser_principal_name",
> "local_username": "${cluster-env/smokeuser}"
>   },
>   ...
> }
>   ],
>   "services": [
> {
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (AMBARI-19430) Use common property for principal name prefix to help with customization of unique principal names

2017-01-13 Thread Robert Levas (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-19430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas updated AMBARI-19430:
--
Attachment: AMBARI-19430_trunk_01.patch
AMBARI-19430_branch-2.5_01.patch

> Use common property for principal name prefix to help with customization of 
> unique principal names
> --
>
> Key: AMBARI-19430
> URL: https://issues.apache.org/jira/browse/AMBARI-19430
> Project: Ambari
>  Issue Type: Bug
>Reporter: Robert Levas
>Assignee: Robert Levas
>  Labels: kerberos, kerberos_descriptor
> Attachments: AMBARI-19430_branch-2.5_01.patch, 
> AMBARI-19430_trunk_01.patch
>
>
> Use common property for principal name prefix to help with customization of 
> unique principal names.  
> All _headless_ Kerberos identities have a non-unique principal name (across 
> clusters). To help this issue, the cluster name is appended to these 
> principal names by adding "-$\{cluster-name|toLower()\}" after the principal 
> name component. If the user wants to change this convention, they will need 
> to find all _headless_ principals and make the change. On top of that, when 
> adding new components, they will need to remember to make the change to new 
> _headless_ principal names. 
> A better solution is to provide a _global_ property named "principal_suffix" 
> and use that in each _headless_ principal name. By default the value for this 
> property will be
> {code}
> principal_suffix="-${cluster_name|toLower()}"
> {code}
> If the user would like not use a prefix (in the event there is only a single 
> cluster connecting to the KDC), the value can be changed to
> {code}
> principal_suffix=""
> {code}
> Finally if the user would like to use some other randomizer, they can set the 
> value to something else. For example
> {code}
> principal_suffix="_12345"
> {code}
> The property is set in the Kerberos descriptor's "properties" block.   For 
> example:
> {code}
> {
>   "properties": {
> "realm": "${kerberos-env/realm}",
> ...,
> "principal_suffix": "${cluster_name|toLower()}"
>   },
>   "identities": [
> ..., 
> {
>   "name": "smokeuser",
>   "principal": {
> "value": "${cluster-env/smokeuser}-${principal_suffix}@${realm}",
> "type": "user",
> "configuration": "cluster-env/smokeuser_principal_name",
> "local_username": "${cluster-env/smokeuser}"
>   },
>   ...
> }
>   ],
>   "services": [
> {
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)