Sponsored Content
Operating Systems AIX Testing Kerberos with kinit comand Post 302987183 by kstalder on Tuesday 6th of December 2016 04:27:57 PM
Old 12-06-2016
Testing Kerberos with kinit comand

I am working on an AIX 6.1 system with Kerberos 1.5.0.8.
I am attempting to execute the kinit command but after I execute the command and put in a password I get the following error message:

Code:
 Unable to obtain initial credentials
 Status 0x96c73a18 - Preauthentication failed.

I have found some info about the key in the key table is incorrect and possibly regenerate the key table and/or make sure using the correct principle name, the Active Directory user name, and path.

Command used is
Code:
 /usr/krb5/bin/kinit ra016301@am.mds.honda.com

Appreciate any help with this issue.

I have now gotten past the Unable to obtain initial credentials issue by issuing the following command:
/usr/krb5/bin/kinit aixldap@AM.MDS.HONDA.COM
and I get a ticket by issuing the following command:
/usr/krb5/bin/klist
Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by kstalder; 12-14-2016 at 12:12 PM.. Reason: Added CODE tags.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mount comand

Dear experts: I am installing software on Unix via telnet using CD on my NT workstation. What kind of NFS & mount comands I should run in the beginning ? (what exactly should be <drive for cdrom> and <mount ditectory> in the mount comand? Thanks in advance, etc.. (6 Replies)
Discussion started by: lostam
6 Replies

2. UNIX for Dummies Questions & Answers

exec comand

hi, i have written a small script in which i use exec command and redriect output to a file..after sometime i want to switch it off and redirect the output to screen..how to do it exec >> /tmp/out.txt 2>&1 //set of statements then i want to switch of these exec as the rest should get... (5 Replies)
Discussion started by: mkan
5 Replies

3. Shell Programming and Scripting

Testing a comand in the script

Hi everyone , i am new to shell scripting and am having some problem to test if this line has been executed well and display a pass message on the screen or fail if not sqlplus XXTEST/$2 <<END > $XXTEST_TOP/log/$0.log @$XXTEST_TOP/admin/sql/XXTEST_SPE1_XX_QUOTE_DETAILS_TBL.sql XXTEST$2... (2 Replies)
Discussion started by: Lutchumaya
2 Replies

4. Solaris

comand df -k

I need to know the available space in my unix. when making a df -k it shows me the following thing: /dev/vx/dsk/emc2/vol06 136764867 121542767 1545614 99% /emc06 would need them to explain to me well the command. since under the column avail the resulting value is... (2 Replies)
Discussion started by: roviedo
2 Replies

5. Solaris

Using dd comand

Hello peolple i have to check a tape with de dd comand and redirect the exit dd if=/dev/rmt/0cn ibs=1024k of=/dev/null i need that the exit from that commando go to a log if a do this dd if=/dev/rmt/0cn ibs=1024k of=/dev/null > x.log don`t send me nothing to the log only in the screen. I need... (1 Reply)
Discussion started by: enkei17
1 Replies

6. UNIX for Dummies Questions & Answers

kinit

Hi, I have tried a lot online to find about this command. I coudnt find a satisfactory explanation. I need some background on kinit command. Can someone please explain it? (2 Replies)
Discussion started by: grep_me
2 Replies

7. Shell Programming and Scripting

Automate Kerboer kinit password

Hi, I just wonder if anyone know how to auto encode the kerberos kinit password at prompt. kinit command is inside the one of the script called runscript.sh so ./runscript.sh ...... kinit username Password for username@example.com: How do I auto input the password without need to... (5 Replies)
Discussion started by: netlink
5 Replies

8. UNIX for Advanced & Expert Users

kinit auditing

I have implemented solaris login authenticating against an active directory server, using solaris x86 on a Dell R810 8xXeon CPUs and 262Gb RAM. The actual OS is: # uname -a SunOS ms-svr012 5.10 Generic_142910-17 i86pc i386 i86pc # cat /etc/release Oracle Solaris 10 9/10... (2 Replies)
Discussion started by: jabberwocky
2 Replies

9. Shell Programming and Scripting

UNIX comand

Team, I need unix command to grep directory part from the string for example I have a texts something like /apps/opt/data/current/spool/test.dbf /apps/opt/archive/../../test.dbf I need only directory part from that string like my out put will /apps/opt/data/current/spool/... (1 Reply)
Discussion started by: asappidi
1 Replies

10. Shell Programming and Scripting

How to view the cron jobs that ran on kinit i keep getting must be privileged to use -u?

How to view the cron jobs that ran on kinit i keep getting must be privileged to use -u this is the control used, echo 'cat /usr/local/bin/tpthadoop/secret/hadoop.txt' | kinit hdfs what happens with above command kinit is using kerberos and the account used to run the processes jobs are... (1 Reply)
Discussion started by: cplusplus1
1 Replies
KLIST(1)						      General Commands Manual							  KLIST(1)

NAME
klist - list cached Kerberos tickets SYNOPSIS
klist [-5] [-4] [-e] [[-c] [-f] [-s] [-a [-n]]] [-k [-t] [-K]] [cache_name | keytab_name] DESCRIPTION
Klist lists the Kerberos principal and Kerberos tickets held in a credentials cache, or the keys held in a keytab file. If klist was built with Kerberos 4 support, the default behavior is to list both Kerberos 5 and Kerberos 4 credentials. Otherwise, klist will default to listing only Kerberos 5 credentials. OPTIONS
-5 list Kerberos 5 credentials. This overrides whatever the default built-in behavior may be. This option may be used with -4 -4 list Kerberos 4 credentials. This overrides whatever the default built-in behavior may be. This option is only available if kinit was built with Kerberos 4 compatibility. This option may be used with -5 -e displays the encryption types of the session key and the ticket for each credential in the credential cache, or each key in the keytab file. -c List tickets held in a credentials cache. This is the default if neither -c nor -k is specified. -f shows the flags present in the credentials, using the following abbreviations: F Forwardable f forwarded P Proxiable p proxy D postDateable d postdated R Renewable I Initial i invalid -s causes klist to run silently (produce no output), but to still set the exit status according to whether it finds the credentials cache. The exit status is `0' if klist finds a credentials cache, and `1' if it does not. -a display list of addresses in credentials. -n show numeric addresses instead of reverse-resolving addresses. -k List keys held in a keytab file. -t display the time entry timestamps for each keytab entry in the keytab file. -K display the value of the encryption key in each keytab entry in the keytab file. If cache_name or keytab_name is not specified, klist will display the credentials in the default credentials cache or keytab file as appro- priate. If the KRB5CCNAME environment variable is set, its value is used to name the default ticket cache. ENVIRONMENT
Klist uses the following environment variables: KRB5CCNAME Location of the Kerberos 5 credentials (ticket) cache. KRBTKFILE Filename of the Kerberos 4 credentials (ticket) cache. FILES
/tmp/krb5cc_[uid] default location of Kerberos 5 credentials cache ([uid] is the decimal UID of the user). /tmp/tkt[uid] default location of Kerberos 4 credentials cache ([uid] is the decimal UID of the user). /etc/krb5.keytab default location for the local host's keytab file. SEE ALSO
kinit(1), kdestroy(1), krb5(3) KLIST(1)
All times are GMT -4. The time now is 02:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy