OK, so after recompiling with no optimization, the bug vanishes. Recompiling with optimization again, the bug still vanishes. <sigh> I'm stumped where it came from, and why authctxt->user wasn't being populated, but the bug in auth_log() should still be fixed. -- Carson