I'm trying to get tmda-cgi to authenticate against vmailmgr. (I'm much further than I was a while ago; the vmailmgrinfo.py file needs to be executable *and* void of CRLFs.) Anyway, now I get this every time I visit tmda.cgi:
Capturing the debug stream... Setting up file authentication with file '/etc/tmdauth' Setting up checkpw authentication with '/usr/bin/checkvpw' Auth program is '/usr/bin/checkvpw /bin/true' Trying checkpw method UID = 0, EUID = 0 Successful pipe(). Successful fork(), PID = 28426 PID = 28426, status = 28416 Authentication returned: 0 The status returned from the waitpid in __pipefd3() (in Auth.py) is *always* 28416. authenticate_plain_checkpw() then *always* returns 0, no matter if a valid u/pw pair is entered or not. I assume it's not the TMDA lib code, because the vpopmail stub is pretty well-tested and it uses a similar mechanism. However, I can't see how the vmailmgr stub is screwing things up -- going into authenticate...(), username and password are correct. I've also tested checkvpw on the command line to make sure everything's working there: # echo -e '[EMAIL PROTECTED]' | checkvpw echo true 3<&0 ./users/testuser Please, help. -Drew _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
