[28252] in Kerberos
Re: kinit(v5): Cannot contact any KDC for requested ...
daemon@ATHENA.MIT.EDU (Kevin Coffman)
Mon Aug 13 12:35:15 2007
Message-ID: <4d569c330708130934p45b5839dk7f4eba2ee666dad0@mail.gmail.com>
Date: Mon, 13 Aug 2007 12:34:45 -0400
From: "Kevin Coffman" <kwc@citi.umich.edu>
To: chitta@iitkgp.ac.in
In-Reply-To: <1187018376.10126.21.camel@localhost>
MIME-Version: 1.0
Content-Disposition: inline
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
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