[15925] in Kerberos_V5_Development

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

krb5_get_credentials. error code = -1765328243

daemon@ATHENA.MIT.EDU (Muthuramalingam Narayanan)
Mon Jun 28 12:19:30 2010

In-Reply-To: <87sk49wrud.fsf@windlord.stanford.edu>
To: rra@stanford.edu
MIME-Version: 1.0
From: Muthuramalingam Narayanan <muthuramalingam.narayanan@us.abb.com>
Message-ID: <OFC2F633E9.1E2BF313-ON86257750.00593AD3-86257750.0059A760@us.abb.com>
Date: Mon, 28 Jun 2010 11:19:15 -0500
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

Hi
First I create ticket using Kinit and I running my program 
krb5_get_credentials is going fine.
when I ran klist in command line i am getting the following


Ticket cache: FILE:/tmp/krb5cc_10003
Default principal: sadmin@BLD01SEC.SE

Valid starting     Expires            Service principal
06/28/10 12:13:20  06/28/10 22:13:23  krbtgt/BLD01SEC.SE@BLD01SEC.SE
        renew until 07/05/10 12:13:20


Kerberos 4 ticket cache: /tmp/tkt10003
klist: You have no tickets cached

But I am creating the ticket using my C program and I do the klist

Ticket cache: FILE:/tmp/krb5cc_10003
Default principal: sadmin@BLD01SEC.SE

Valid starting     Expires            Service principal
06/28/10 12:13:20  06/28/10 22:13:23  krbtgt/BLD01SEC.SE@BLD01SEC.SE
        renew until 07/05/10 12:13:20


Kerberos 4 ticket cache: /tmp/tkt10003
klist: You have no tickets cached


I am getting the same ticket.


But when I ran the program and call krb5_get_credentials this function 
given error code = -1765328243.


Can you somebody help what i needs to do.


Thanks and Regards
Muthu N
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

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