|Syntactic Confectionery Delight|
Krb5, core and gdbby MZSanford (Curate)
|on Mar 21, 2002 at 12:14 UTC||Need Help??|
MZSanford has asked for the
wisdom of the Perl Monks concerning the following question:
I took a look around Super Search, and did not find anything on the subject, so thought i would Seek a bit of Perl Wisdom. Here is my problem ...
I am working on getting Kerberos support setup on a few hosts, mostly so i can get us out of the shell scripting business, and am having a ton of trouble with Authen::Krb5. The host i am testing on is a Solaris 8 machine running the KerbNet flavor of Kerberos, and perl 5.6.0. I was wondering if anyone has used Authen::Krb5 in the past, and if they could possibly help out.
The Tale Begins
Now, when i did the original make, there were some error because of the use of sv_undef, as opposed to PL_sv_undef. After a quick vi substitution command, that was tamed, and the make succeeded. So, i installed into /tmp to test. (no tests defined for mdule)
The plot thickens
Now, the problem at hand. I tried to run a sample which was provided with the module, and after changing some of the connfig changes, i started the sample_client up. Well, it core dumped :/. So, i thought maybe it was me. So, i got to looking around, and eventually steared my search into the always handy perl debugger. with my time in the debugger, i found that calls to the Authen::Krb5::cc_default() were causing my problem. so, being of sound mind, i headed for gdb. Here, is where my normal Perl debugging skills go horribly wrong, as gdb is not my best subject. Here is the back trace i have :
What i see, as a gdb novice (on a good day), is that the Perl module is calling the Krb function, which is calling sprintf() in some preverse way. Now, my guess would be that this is a Module vs. Kerberos vs. KerbNet issue, but i get this nagging feeling that not the case, because the compilation is working fine. Please let me know if anyone has used Authen::Krb5 with luck, or any thought i what i have here.
from the frivolous to the serious