Sorry for the new mail/thread, I lost the original when my mail client
crashed....
Seems to me that if you just want to do authentication of POP3 and SMTP
user accounts, and you're running a single NT domain and mail domain, you
could do that easily enough using External Authentication. As I understand
it, you would need to set up a .tab file for the domain in your
<mailroot>\userauth\pop3 (and smtp) folder with the following contents:
"userauth" "NTAuth" "@@USER" "@@PASSWD" "yourNTdomain"
Where "NTAuth" is the name of a small C program that takes the user name
("@@USER"), password ("@@PASSWD"), and your NT domain name ("yourNTdomain")
as arguments and authenticates them against the NT domain (for instance,
using LogonUser).
The C code to do this shouldn't be hard - something along the lines of
(untested code follows):
#include "stdafx.h"
int main(int argc, char* argv[])
{
BOOL ValidUser = -1;
HANDLE hToken = 0;
ValidUser = LogonUser(argv[0], argv[2], argv[1], LOGON32_LOGON_NETWORK,
LOGON32_PROVIDER_DEFAULT, *hToken);
if (ValidUser)
CloseHandle(hToken);
return (int)ValidUser;
}
Anyway, I *think* that would work.... Might give it a whirl and see...
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]