0% found this document useful (0 votes)
246 views7 pages

Informatica Kinit

The document details the steps taken to authenticate a user named parijsx to a Kerberos realm and obtain a ticket-granting ticket. This includes destroying any existing credentials, running kinit to authenticate to the realm and obtain a TGT, and listing the credentials to verify authentication was successful.

Uploaded by

write2bapun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
246 views7 pages

Informatica Kinit

The document details the steps taken to authenticate a user named parijsx to a Kerberos realm and obtain a ticket-granting ticket. This includes destroying any existing credentials, running kinit to authenticate to the realm and obtain a TGT, and listing the credentials to verify authentication was successful.

Uploaded by

write2bapun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

================================================================================

=====
kdestroy -c C:\Users\parijsx\krb5cc_parijsx
kinit.exe -f -J-Dsun.security.krb5.debug=true -J-D"java.security.krb5.conf=C:\In
formatica\10.1.0\krb5.ini" parijsx
================================================================================
======================================
C:\Informatica\10.1.0\clients\java\bin>kinit.exe -f -J-Dsun.security.krb5.debug=
true -J-D"java.security.krb5.conf=C:\Informatica\10.1.0
\krb5.ini" parijsx
Java config name: C:\Informatica\10.1.0\krb5.ini
Loaded from Java config
>>>KinitOptions cache name is C:\Users\parijsx\krb5cc_parijsx
Principal is [email protected]
Password for [email protected]:
>>> Kinit console input parijsx
>>> Kinit realm name is ABVCOMWHDP1.LOCAL
>>> Creating KrbAsReq
>>> KrbKdcReq local addresses for CSGULCL912140 are:
CSGULCL912140/10.241.13.169
IPv4 address
CSGULCL912140/192.168.56.1
IPv4 address
CSGULCL912140/192.168.99.1
IPv4 address
CSGULCL912140/192.168.202.1
IPv4 address
CSGULCL912140/192.168.203.1
IPv4 address
CSGULCL912140/fe80:0:0:0:b1ae:3792:bacf:e055%14
IPv6 address
CSGULCL912140/fe80:0:0:0:ecdb:7989:aed5:3d0d%21
IPv6 address
CSGULCL912140/fe80:0:0:0:642a:b916:bf5d:445c%23
IPv6 address
CSGULCL912140/fe80:0:0:0:4c53:362:f7d9:7b31%25
IPv6 address
CSGULCL912140/fe80:0:0:0:b983:d30:9f40:6465%26
IPv6 address
>>> KdcAccessibility: reset
default etypes for default_tkt_enctypes: 17 16 23.
>>> KrbAsReq creating message
>>> KrbKdcReq send: kdc=ux00503p.abbvienet.com TCP:88, timeout=30000, number of
retries =3, #bytes=374
>>> KDCCommunication: kdc=ux00503p.abbvienet.com TCP:88, timeout=30000,Attempt =
1, #bytes=374
>>>DEBUG: TCPClient reading 1021 bytes
>>> KrbKdcReq send: #bytes read=1021
>>> KdcAccessibility: remove ux00503p.abbvienet.com

>>> EType: sun.security.krb5.internal.crypto.Aes128CtsHmacSha1EType


>>> KrbAsRep cons in KrbAsReq.getReply parijsx
New ticket is stored in cache file C:\Users\parijsx\krb5cc_parijsx
C:\Informatica\10.1.0\clients\java\bin>klist
Credentials cache: C:\Users\parijsx\krb5cc_parijsx
Default principal: [email protected], 1 entry found.
[1] Service Principal: krbtgt/[email protected]
Valid starting:
Nov 21, 2016 10:09:35
Expires:
Nov 21, 2016 20:09:35
C:\Informatica\10.1.0\clients\java\bin>klist -f
Credentials cache: C:\Users\parijsx\krb5cc_parijsx
Default principal: [email protected], 1 entry found.
[1] Service Principal:
Valid starting:
Expires:
Flags:

krbtgt/[email protected]
Nov 21, 2016 10:09:35
Nov 21, 2016 20:09:35
FORWARDABLE;INITIAL

C:\Informatica\10.1.0\clients\java\bin>
====================================================
cd C:\Informatica\10.1.0\clients\java\bin
kinit.exe -f -J-Dsun.security.krb5.debug=true -J-D"java.security.krb5.conf=C:\In
formatica\10.1.0\krb5.ini" bernaje1
=======================================================
!connect jdbc:hive2://ux00503p.abbvienet.com:10000/adshasp;principal=hive/ux0050
[email protected]

jdbc:hive2://ux00503p.abbvienet.com:10000/adshasp;principal=hive/_HOST@ABVCOMWHD
P1.LOCAL
jdbc:hive2://ux00503p.abbvienet.com:10000/adshasp;principal=hive/_HOST@ABVCOMWHD
P1.LOCAL

jdbc:hive2://ux00503p.abbvienet.com:10000/default;principal=hive/_HOST@ABVCOMWHD
P1.LOCAL

/user/hive/warehouse/adhocp2.db
drwxrwx--t - hive
hive
rehouse/adhocp2_stage.db
drwxrwx--t+ - adshaloadp adshaloadp
rehouse/adshap.db
drwxrwx--t+ - adshasloadp adshasloadp

0 2016-11-14 11:34 /user/hive/wa


0 2016-10-27 16:51 /user/hive/wa
0 2016-11-29 15:56 /user/hive/wa

rehouse/adshasp.db
drwxrwx--t+ - ddshaloadp ddshaloadp
rehouse/ddshap.db
drwxrwx--t+ - ddshasloadp ddshasloadp
rehouse/ddshasp.db
App accounts
adshasreadp
adshaswritep
adshasloadp
adshareadp
adshawritep
adshaloadp
ddshasreadp
ddshaswritep

0 2016-10-13 14:16 /user/hive/wa


0 2016-10-14 15:21 /user/hive/wa

Yenisei_3487
Ob_Biya_5410
Angara_1779
Kolyma_2129
Amur_2824
Lena_4400
Tobol_1591
Katun_688

cd C:\Informatica\10.1.0\clients\java\bin
kdestroy -c C:\Users\parijsx\krb5cc_parijsx
kinit.exe -f -J-Dsun.security.krb5.debug=true -J-D"java.security.krb5.conf=C:\In
formatica\10.1.0\krb5.ini" adshasloadp
Angara_1779

ktutil
addent -password -p [email protected] -k 1 -e aes256-cts-hmac-sha1-96
- enter password for parijsx1 wkt parijsx1.keytab
q

addent -password -p [email protected] -k 1 -e aes256-cts-hmac-sha1-9


6
Today11162016!
wkt informatica.keytab
parijsx@ux00509p:~/util_scripts> ktutil
ktutil: addent -password -p [email protected] -k 1 -e aes256-cts-hmac-s
ha1-96
Password for [email protected]:
ktutil: wkt parijsx.keytab
ktutil: q

addent -password -p [email protected] -k 1 -e aes256-cts-hmac-sha1-9


6

./soumya_tdch.sh -u jdbc:teradata://ppdwp1.abbvienet.com/ -t ADHOCP2.PHYN_BEST_A


DDR_EXTRACT_RPT_BAPQ26 -h ddshasp.PHYN_BEST_ADDR_EXTRACT_RPT_BAPQ26 -n adhocp2_r
ead -p adhocp2_read -w "DDS_START_DATE < DATE '2016-12-14'" -f textfile -m 12 s "ux00503p:10000,ux00504p:10000" -k ABVCOMWHDP1.LOCAL
-o true is not working
./tdch_migrate.sh -u jdbc:teradata://ppdwp1.abbvienet.com/ -t ADHOCP2.PHYN_BEST_
ADDR_EXTRACT_RPT_BAPQ26 -h ddshasp.PHYN_BEST_ADDR_EXTRACT_RPT_BAPQ26 -n adhocp2_
read -p adhocp2_read -w "DDS_START_DATE < DATE '2016-12-14'" -f textfile -m 12
-s "ux00503p:10000,ux00504p:10000" -k ABVCOMWHDP1.LOCAL
./soumya_tdch.sh -u jdbc:teradata://ppdwp1.abbvienet.com/ -t ADHOCP2.PHYN_BEST_A
DDR_EXTRACT_RPT_BAPQ26 -h ddshasp.phyn_best_addr_extract_rpt_bapq26 -n adhocp2_r
ead -p adhocp2_read -w "DDS_START_DATE < DATE '2016-12-14'" -f textfile -m 12 s "ux00503p:10000,ux00504p:10000" -k ABVCOMWHDP1.LOCAL

./tdch_migrate.sh -u jdbc:teradata://ppdwp1.abbvienet.com/ -t ADHOCP2.PHYN_BEST_


ADDR_EXTRACT_RPT_BAPQ26 -h ddshasp.phyn_best_addr_extract_rpt_bapq26 -n adhocp2_
read -p adhocp2_read -w "DDS_START_DATE < DATE '2016-12-14'" -f textfile -m 12
-s "ux00503p:10000,ux00504p:10000" -k ABVCOMWHDP1.LOCAL

hdfs dfs -setfacl -m group:hive:rwx "/user/hive/warehouse/ddshasp.db/PHYN_BEST_A


DDR_EXTRACT_RPT_BAPQ26/*"/

./tdch_migrate.sh -u jdbc:teradata://ppdwp1.abbvienet.com/ -t ADHOCP2.PHYN_BEST_


ADDR_EXTRACT_RPT_BAPQ26 -h ddshasp.PHYN_BEST_ADDR_EXTRACT_RPT_BAPQ26 -n adhocp2_
read -p adhocp2_read -w "DDS_START_DATE < DATE '2016-12-14'" -f textfile -m 12
-s "ux00503p:10000,ux00504p:10000" -k ABVCOMWHDP1.LOCAL -o true

./tdch_migrate.sh -u jdbc:teradata://ppdwp1.abbvienet.com/ -t ADHOCP2.ACCT_UNIV_


UNAPRV_TERR_PROD_IREP20 -h ddshasp.ACCT_UNIV_UNAPRV_TERR_PROD_IREP20 -n adhocp2_
read -p adhocp2_read -w "CREATED_DATE < DATE '2016-12-14'" -f textfile -m 12 -s
"ux00503p:10000,ux00504p:10000" -k ABVCOMWHDP1.LOCAL -o true

You might also like