• 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 ?

6 5 3
7,540 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.

9 7 4
38,600 points

Related questions

1 vote
1 answer 818 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 226 views
Problem: I am very new to boto3. Now I have a boto3 client also: boto3.client('kms') But it always happens on all of my new machines they open and close dynamically. if endpoint is None:         if region_name is None:             # Raise a more specific error ... : Botocore.exceptions.noregionerror: you must specify a region. I want to know the reason behind this error and how can I fix it?
asked Aug 10, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 1.4K views
Problem : I had to run the jmap so that I can take the heap dump of my process. But the jvm returned below error : Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when the target process is not responding So I ... to take the heap dump? 2. I am waiting for more than 20 minutes and not finished yet. Any ideas why it is taking so long?
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 56 views
Problem: I am little bit confused, which character to used? What character is used to delimit most Linux configuration files? a. tab b. colon c. space d. semicolon
asked Feb 18, 2020 maddi86 5.4k points
0 votes
2 answers 25 views
Problem: What is the default shell in Linux called? a. SH b. BSH c. CSH d. BASH
asked Apr 12, 2020 ArifulIslam 5.6k points
0 votes
1 answer 42 views
Problem: I am new, I need help, can anyone help me? This default Linux directory contains many of the Linux commands?
asked Feb 21, 2020 maddi86 5.4k points
1 vote
1 answer 971 views
Problem : I want to run the newly compiled binary on some of the very oldish 32bits RedHat distribution. This binary is compiled C (not C++) on the CentOS 32bits VM running the libc v2.12. RedHat complains about the libc version as below: Error while loading shared ... , that's why it is most likely not using anything new from the libc. Is there any way to reduce the libc version requirement?
asked Jan 2, 2020 alecxe 7.5k points
0 votes
1 answer 800 views
Problem : I am working on the configuring SSO in obiee, where in which I am facing a issue in the step while configuring my krb5.conf and executing a kinit command. Few notes regarding a Active Directory · We have more than the ... "kinit(v5): Client not found in Kerberos database while getting initial credentials" . Kindly share your ideas or suggestions to solve above issue.
asked Jan 18, 2020 jwilliam 3.9k points
0 votes
1 answer 16 views
Problem Hi Kodlogs, I need to copy file from windows to linux using putty. Help needed please.
asked Nov 3, 2020 hashq 1.1k points
0 votes
1 answer 19 views
Problem Hi, How can I get to know number of lines in a file on Linux?
asked Oct 31, 2020 hashq 1.1k points