[28253] in Kerberos

home help back first fref pref prev next nref lref last post

Re: kinit(v5): Cannot contact any KDC for requested ...

daemon@ATHENA.MIT.EDU (Gopal Paliwal)
Mon Aug 13 13:16:42 2007

Message-ID: <6a113f920708131015u667cb6a7n4ae6d9aae2c2ea00@mail.gmail.com>
Date: Mon, 13 Aug 2007 10:15:29 -0700
From: "Gopal Paliwal" <gopalpaliwal@gmail.com>
To: chitta@iitkgp.ac.in, kerberos@mit.edu
In-Reply-To: <4d569c330708130934p45b5839dk7f4eba2ee666dad0@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

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@citi.umich.edu> wrote:
>
> On 13 Aug 2007 20:49:36 +0530, Chittaranjan Mandal
> <Chittaranjan.Mandal@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@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@CHITTA.CSE.KRB with password.
> > K/M@CHITTA.CSE.KRB
> > admin/admin@CHITTA.CSE.KRB
> > kadmin/admin@CHITTA.CSE.KRB
> > kadmin/changepw@CHITTA.CSE.KRB
> > kadmin/history@CHITTA.CSE.KRB
> > kadmin/localhost@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@CHITTA.CSE.KRB)
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post