kinit(v5): Cannot contact any KDC for requested ...
Gopal Paliwal
gopalpaliwal at gmail.com
Mon Aug 13 13:15:29 EDT 2007
Hi Chittaranjan,
I was also having the same problem in the initial stages of kerberos set-up.
It seems client-machine(where u r running kinit) is unable to find kdc
server.
THis is mostly due to the improper DNS set-up if u have done a DNS set-up.
Else look for the proper entries in your /etc/hosts file.
As said by Kevin, avoid using "localhost" term.
-gopal
On 8/13/07, Kevin Coffman <kwc at citi.umich.edu> wrote:
>
> On 13 Aug 2007 20:49:36 +0530, Chittaranjan Mandal
> <Chittaranjan.Mandal at iitkgp.ac.in> wrote:
> > On Mon, 2007-08-13 at 09:38 -0400, Kevin Coffman wrote:
> > > On 12 Aug 2007 16:27:22 +0530, Chittaranjan Mandal <
> Chittaranjan.Mandal at iitkgp.ac.in> wrote:
> >
> > > > I am trying to setup kerberos, but I am getting the above problem.
> > > > My krb5.conf file is attached. Could you please help.
> > > >
> > > > I had run the following commands.
> > > > # kdb5_util create -r chitta.cse.krb -s
> > > > # kadmin.local -q "addprinc admin/admin"
> > > > # kadmin.local -q "addprinc kuser"
> > > > # kadmin.local -q "getprincs"
> > >
> > > These commands create the database. Are you actually running the kdc
> process?
> > >
> > > BTW, realm names are conventionally all upper-case.
> >
> > Okay, this is what I have now. Both kinit and kadmin still fail.
> >
> > # kdb5_util create -r CHITTA.CSE.KRB -s
> > # kadmin.local -q "addprinc admin/admin"
> > # kadmin.local -q "addprinc kuser"
> > # kadmin.local -q "getprincs"
> > Authenticating as principal root/admin at CHITTA.CSE.KRB with password.
> > K/M at CHITTA.CSE.KRB
> > admin/admin at CHITTA.CSE.KRB
> > kadmin/admin at CHITTA.CSE.KRB
> > kadmin/changepw at CHITTA.CSE.KRB
> > kadmin/history at CHITTA.CSE.KRB
> > kadmin/localhost at CHITTA.CSE.KRB
>
> I suspect a problem with /etc/hosts. This should not be "localhost",
> but the real hostname (i.e.,
> kadmin/chitta.cse.iitkgp.ernet.in at CHITTA.CSE.KRB)
> ________________________________________________
> Kerberos mailing list Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
More information about the Kerberos
mailing list