[29299] in Kerberos

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

Debugging Script using get_in_tkt_with_password

daemon@ATHENA.MIT.EDU (trimkins@sbcglobal.net)
Tue Feb 19 12:00:22 2008

From: trimkins@sbcglobal.net
Date: Tue, 19 Feb 2008 08:47:50 -0800 (PST)
Message-ID: <bebc84e4-2450-47fa-800a-ce8c428875b2@q78g2000hsh.googlegroups.com>
Mime-Version: 1.0
X-Complaints-To: groups-abuse@google.com
Complaints-To: groups-abuse@google.com
To: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Hello all,

I have a specific question coming from my activities in a prior thread
(Trouble Getting Ticket into Cache).  The thread got confusing when
others attached to it with different questions.  I thought a new post
was in order.

My C script is using get_in_tkt_with_password() to cache a password.
Everything is set up correctly, I believe.  I am compiling through gcc
and linking the object file to /usr/lib/libkrb5.so.  I am getting the
following error text when running the executable in gdb:

     <<< begin gdb read out <<<

     Failed to read a valid object file image from memory.

     Program received signal SIGSEGV, Segmentation fault.
     0xb7f11f8c in krb5_get_in_tkt_with_password () from /usr/lib/
libkrb5.so.3
     (gdb) list
     1       init.c: No such file or directory.
             in init.c
     (gdb) bt
     #0  0xb7f11f8c in krb5_get_in_tkt_with_password () from /usr/lib/
libkrb5.so.3
     #1  0x08048774 in main ()

     <<< end gdb read out <<<

Does this look like a problem with my Kerberos install or gdb?  Is
init.c (which I understand to be memory protection) a file that should
be installed on my server.

Thanks much for any assistance.

Sincerely,

Angus B. Atkins-Trimnell
________________________________________________
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