[tpop3d-discuss]authentication failures on Mac OS X 10.3

Roger Baig Viņas roger.baig at gmail.com
Tue, 20 Dec 2005 21:15:32 +0100


> > ok, I'd say the system has PAM, then. Did you have any
> > luck compiling tpop3d with PAM support?
>
> Not at all! I'm still working on it (as I said previously I am a newbie).
>
> Here is what I got (after some checkings with ... yes):
>
> $./configure --enable-auth-pam --disable-auth-passwd
> ...
> configure: error: PAM authentication enabled, but can't find
> security/pam_appl.h
with:
$ cd /usr/include
$ sudo ln -s pam security
the error disappears. Although some checkings still being ... no:
$ ./configure --enable-auth-pam
...
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
...
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
...
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
...


After ./config I do "make" (Have I to do "make
LDFLAGS=-flat_namespace" as README.darwin sais? I don't know; I go
strigh ahead):
$ make
make  all-recursive
Making all in init.d
...


I fire up the server (tpop3d -vd) and when trying to authentify I get:
...
connection_parsecommand: client [7]127.0.0.1/rilat.local: received `pass [...]'
auth_pam_new_user_pass: pam_authenticate(nil0): Module is unknown
connection_sendresponse: client [7]127.0.0.1/rilat.local: sent `-ERR
Lies! Try again!'


I don't know either if pam auth is the right way for Mac OS X
(Darwin). Maybe it would be... or none of them: there is too much to
learn...

Anyway, I will keep trying. Even I get good or bad results, I'll let
you know. thanks again

PS I am not lying at all; I been wasting so much time in front of the
computer to do it!!!
--
roger