Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does kinit know where the KDC is?

Tags:

kerberos

I have built and installed the MIT kerberos code.

I have also got it working on a single machine (tested with sserver and sclient). I did this as a test bench in order to develop an app which will use kerberos for authentication. My question is how does kinit know where to send the kerberos requests? Is there some setup I need for testing in a multi-machine environment? Is there a DNS call to make? How does the DNS entry (if used) get created?

Thanks.

like image 675
No One in Particular Avatar asked May 23 '12 19:05

No One in Particular


1 Answers

It turns out that each client host needs to have an /etc/krb5.conf file which tells clients where the KDC is located. (I am talking Linux/Unix here.)

Thanks.

like image 93
No One in Particular Avatar answered Sep 17 '22 05:09

No One in Particular