• Register
0 votes

Problem :

I have recently installed krb5-1.2.3 on my Linux machine.I want to utilize this install as the client and the KDC is installed on another machine. But while I tried to do the initial kinit I got the following error;

# ./kinit
kinit(v5): Configuration file does not specify default realm when parsing name

I am unable to understand the error, I am having my config file at /etc/krb5.conf path and it also defines my default realm.Is there anybody who have faced this message before and have any solution on it ?

7.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I think somebody might have moved the config file but they might have forgotten to copy your config file or they might have replaced your config file with the default config file I have seen this happen in many teams so often with other software. So my suggestion will be to try using 'strace kinit' command to trace down your files actual path and if your config file is not present at the usual location then you will need to move your working config file.You can try to do the double check and confirm that it is the your last working file which is where you left it.

38.6k points

Related questions

0 votes
1 answer 12 views
Problem: Having a tough time with this, help please : Kinit: cannot contact any kdc for realm
asked Jun 5 Chi Omega 168k points
0 votes
1 answer 59 views
Problem: I am attempting to set up Kerberos authentication with Freeradius. At the moment when I run radtest the authentication fails and I get the following error in my logs (0) Login incorrect (krb5: Failed parsing username as principal: Configuration file does not ... = http/*Emails are not allowed* Is there anything wrong with this configuration? Or am I looking in the wrong place?
asked Apr 25 Supti 13k points
0 votes
1 answer 5 views
Problem: Kdc has no support for encryption type
asked Jul 26 Sawyer Parviz 168k points
1 vote
1 answer 36 views
Problem: Any suggestion thatwhat I am missing? Key table entry not found while getting initial credentials.
asked May 2 PkGuy 25.9k points
0 votes
0 answers 56 views
Problem: I followed following steps to setup KDC & kerberos. Now while kinit facing following issue. OS - SUSE 11 1. zypper install krb5 krb5-server krb5-client 2. Updated krb5.conf with proper realm details. 3. kdb5_util create -s <kerberos database created. ... 13. kinit -kt himansu.keytab *Emails are not allowed* EXCEPTION: kinit(v5): Key table entry not found while getting initial credentials
asked May 2 jamuna1 30.2k points
1 vote
1 answer 2k views
Problem: I am very new to Kerberos and Hadoop. I tried to create the "user.keytab" file by "ktutil" to try to renew a krb ticket without the use of the password as it was recommended in some online tutorial. Please find below the procedure I ... credentials Please find below my environment details for your reference: My OS: Centos Linux, My Cluster: Cloudera Hadoop Distribution, My Tool: Kerberos
asked May 27, 2020 Martin K 6.6k points
0 votes
1 answer 43 views
Problem: I would be glad if I could get some tips : Kinit cannot contact any kdc for realm.
asked Jun 5 Junia Phoebe 83.8k points
0 votes
1 answer 8 views
Problem: Mount you must specify the filesystem type
asked Jul 13 nila 121k points
1 vote
1 answer 29 views
Problem: Please assist me in this: Enter an address and marker that specify the same place.
asked Apr 27 PkGuy 25.9k points
0 votes
1 answer 13 views
Problem: Can someone please guide me on how to resolve > Command searches a database of filenames for the name or name fragment that you specify.
asked Apr 24 ummeshani 10.8k points