You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2013/07/01 22:47:25 UTC
git commit: KNOX-84: use EXAMPLE.COM instead of sample.com in
template files for kerberos relam
Updated Branches:
refs/heads/master 234ecc641 -> e98c6825a
KNOX-84: use EXAMPLE.COM instead of sample.com in template files for kerberos relam
Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/e98c6825
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/e98c6825
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/e98c6825
Branch: refs/heads/master
Commit: e98c6825ae22955496ecad40622c6f1e0f4b54e2
Parents: 234ecc6
Author: Kevin Minder <ke...@hortonworks.com>
Authored: Mon Jul 1 16:47:21 2013 -0400
Committer: Kevin Minder <ke...@hortonworks.com>
Committed: Mon Jul 1 16:47:21 2013 -0400
----------------------------------------------------------------------
gateway-release/home/templates/krb5.conf | 14 +++++++-------
gateway-release/home/templates/krb5JAASLogin.conf | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/e98c6825/gateway-release/home/templates/krb5.conf
----------------------------------------------------------------------
diff --git a/gateway-release/home/templates/krb5.conf b/gateway-release/home/templates/krb5.conf
index 3420b13..b2118e9 100644
--- a/gateway-release/home/templates/krb5.conf
+++ b/gateway-release/home/templates/krb5.conf
@@ -14,7 +14,7 @@
; See the License for the specific language governing permissions and
; limitations under the License.
-; IMPORTANT: REPLACE sample.com, kerberos.sample.com and SAMPLE.COM with your site specific values
+; IMPORTANT: REPLACE example.com, kerberos.example.com and EXAMPLE.COM with your site specific values
[logging]
default = FILE:/var/log/krb5libs.log
@@ -22,7 +22,7 @@
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
- default_realm = SAMPLE.COM
+ default_realm = EXAMPLE.COM
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
@@ -30,11 +30,11 @@
forwardable = true
[realms]
- SAMPLE.COM = {
- kdc = kerberos.sample.com
- admin_server = kerberos.sample.com
+ EXAMPLE.COM = {
+ kdc = kerberos.example.com
+ admin_server = kerberos.example.com
}
[domain_realm]
- .sample.com = SAMPLE.COM
- sample.com = SAMPLE.COM
+ .example.com = EXAMPLE.COM
+ example.com = EXAMPLE.COM
http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/e98c6825/gateway-release/home/templates/krb5JAASLogin.conf
----------------------------------------------------------------------
diff --git a/gateway-release/home/templates/krb5JAASLogin.conf b/gateway-release/home/templates/krb5JAASLogin.conf
index 41d6344..cfb4d19 100644
--- a/gateway-release/home/templates/krb5JAASLogin.conf
+++ b/gateway-release/home/templates/krb5JAASLogin.conf
@@ -15,15 +15,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
-* IMPORTANT: REPLACE SAMPLE.COM and keyTab file location with your site specific values
+* IMPORTANT: REPLACE EXAMPLE.COM and keyTab file location with your site specific values
*/
com.sun.security.jgss.login {
com.sun.security.auth.module.Krb5LoginModule required
renewTGT=true
doNotPrompt=true
useKeyTab=true
- keyTab="/etc/knox/conf/knox.keytab"
- principal="knox@SAMPLE.COM"
+ keyTab="/etc/knox/conf/knox.service.keytab"
+ principal="knox@EXAMPLE.COM"
isInitiator=true
storeKey=true
useTicketCache=true
@@ -36,8 +36,8 @@ com.sun.security.jgss.initiate {
renewTGT=true
doNotPrompt=true
useKeyTab=true
- keyTab="/etc/knox/conf/knox.keytab"
- principal="knox@SAMPLE.COM"
+ keyTab="/etc/knox/conf/knox.service.keytab"
+ principal="knox@EXAMPLE.COM"
isInitiator=true
storeKey=true
useTicketCache=true
@@ -50,8 +50,8 @@ com.sun.security.jgss.accept {
renewTGT=true
doNotPrompt=true
useKeyTab=true
- keyTab="/etc/knox/conf/knox.keytab"
- principal="knox@SAMPLE.COM"
+ keyTab="/etc/knox/conf/knox.service.keytab"
+ principal="knox@EXAMPLE.COM"
isInitiator=true
storeKey=true
useTicketCache=true