Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2011 23:27:22 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Michael Butler <imb@protected-networks.net>
Cc:        current@FreeBSD.org
Subject:   Re: openpam oddity?
Message-ID:  <86obv51po5.fsf@ds4.des.no>
In-Reply-To: <4EEE4996.3060308@protected-networks.net> (Michael Butler's message of "Sun, 18 Dec 2011 15:14:14 -0500")
References:  <4EEE4996.3060308@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Butler <imb@protected-networks.net> writes:
> Any ideas why courier-authdaemon is now reporting ..
>
> authdaemond: in openpam_dynamic(): No error: 0
> authdaemond: in openpam_load_module(): no pam_unix.so found
>
> I've recompiled libpam and courier from scratch :-(

Can you ktrace courier-authdaemon?

# env LD_UTRACE /usr/local/etc/rc.d/courier-authdaemond restart
# ktrace -di -tcntu -p $(cat /var/run/authdaemond/pid)

then reproduce the error, then

# /usr/local/etc/rc.d/courier-authdaemond restart

to stop the trace, and

# kdump >courier-authdaemond-trace.txt

to translate it to human-readable form.  The trace will *not* include
any passwords, just a list of system calls, filename lookups and linker
operations.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86obv51po5.fsf>