[18963] in Kerberos_V5_Development
krb5_cc_default crash
daemon@ATHENA.MIT.EDU (Tim Vega)
Thu Aug 7 18:58:14 2014
From: Tim Vega <tvega@tableausoftware.com>
To: "krbdev@mit.edu" <krbdev@mit.edu>
Date: Thu, 7 Aug 2014 21:05:35 +0000
Message-ID: <F97DCF8911E6C842975C622C0C8E680F27644ADC@S1P5DAG8C.EXCHPROD.USA.NET>
Content-Language: en-US
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
Hi,
I'm trying to get S4U2proxy to work with mod_auth_kerb. I compiled the patch here,http://sourceforge.net/p/modauthkerb/mailman/message/28531618/, into mod_auth_kerb but it crashes on a call to krb5_cc_default.
The offending line is line 283 of stdcc.c:
err = cc_initialize (&gCntrlBlock, ccapi_version_max, &gCCVersion, NULL);
The top of the stack trace is:
00000000()
> krb5_32.dll!stdccv3_setup(_krb5_context * context, _stdccCacheData * ccapi_data) Line 284 + 0x14 bytes C
krb5_32.dll!krb5_stdccv3_resolve(_krb5_context * context, _krb5_ccache * * id, const char * residual) Line 398 + 0xb bytes C
krb5_32.dll!krb5_cc_resolve(_krb5_context * context, const char * name, _krb5_ccache * * cache) Line 235 C
krb5_32.dll!krb5_cc_default(_krb5_context * context, _krb5_ccache * * ccache) Line 57 C
mod_auth_kerb.so!obtain_server_credentials(request_rec * r, const char * service_name) Line 1525 + 0x11 bytes C
mod_auth_kerb.so!get_gss_creds(request_rec * r, kerb_auth_config * conf, gss_cred_id_struct * * server_creds) Line 1315 C
Disassembly (the break is at the add instruction):
err = cc_initialize (&gCntrlBlock, ccapi_version_max, &gCCVersion, NULL);
6647164A push 0
6647164C push offset _gCCVersion (665A5DE4h)
66471651 push 7
66471653 push offset _gCntrlBlock (665A5DE0h)
66471658 call dword ptr [_pcc_initialize (665A7048h)]
6647165E add esp,10h
66471661 mov dword ptr [err],eax
_pcc_initialize watched values:
_pcc_initialize 0x665a7048 _pcc_initialize void *
*(long *)_pcc_initialize 0 long
Any help would be greatly appreciated!
Tim
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev