On Mon, Feb 10, 2003 at 01:01:56PM +0100, Gennaro Esposito wrote:
> Greetings
> I'm an happy user of qpopper on a DEC OSF/1 platform. Now I'm moving all
> the e-mail services (SMTP and POP...IMAP will follows ;-) ) from that
> platform to an Intel/Trustix (a secured version of RH Linux:
> www.trustix.net) but I've experienced a problemd in the link phase of the
> poppassd generation. Trustix uses PAM as its user validation architecture
> and I'm using the shadow method.
Unless I am missing something here, if you're using PAM, by
definition you are not using the shadow method. PAM is a complete
replacement for password validation methods.
> Hereafter an abstract from the log generated by script command:
> -------------------------------------------------------
> Script started on Fri Feb 7 19:07:32 2003
> root@exd800-01 /sw/qpopper404/qpopper4.0.4# ./configure
> --disable-update-abort --enable-apop
> --enable-bulldb=/home/bulldb --enable-group-bulls
> --enable-home-dir-mail=Mailbox --enable-poppassd
> --enable-popuid=pop --enable-server-mode --with-pam
> <snip....configure and compile ok>
...
> Well, I had a look in the poppassd.c and in the auth_user.c code and in the
> last one I've seen that the auth_user function is inside a nested
> #ifdef #else condition:
> #ifdef SPEC_POP_AUTH
> # ifndef USE_PAM
> <....a lot of auth_user definition for various unix flavors that do not
> use PAM....>
> # endif /* USE_PAM */
> #else /* not SPEC_POP_AUTH */
> < a definition of auth_user for systems that do not use shadow or others
> special auth...>
> #endif /* SPEC_POP_AUTH */
>
> In other words: I've both SPEC_POP_AUTH and USE_PAM defined, the dirst
> 'cause I use shadow and the second 'cause Trustix use PAM but this seems
> not allowed!
Disable SPEC_POP_AUTH (shadow) and see if it builds correctly now?
-- Clifton
--
Clifton Royston -- LavaNet Systems Architect -- [EMAIL PROTECTED]
"If you ride fast enough, the Specialist can't catch you."
"What's the Specialist?" Samantha says.
"The Specialist wears a hat," says the babysitter. "The hat makes noises."
She doesn't say anything else.
Kelly Link, _The Specialist's Hat_