krb5_get_credentials. error code = -1765328243

Muthuramalingam Narayanan muthuramalingam.narayanan at us.abb.com
Mon Jun 28 12:19:15 EDT 2010


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 at BLD01SEC.SE

Valid starting     Expires            Service principal
06/28/10 12:13:20  06/28/10 22:13:23  krbtgt/BLD01SEC.SE at 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 at BLD01SEC.SE

Valid starting     Expires            Service principal
06/28/10 12:13:20  06/28/10 22:13:23  krbtgt/BLD01SEC.SE at 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


More information about the krbdev mailing list