OK, you got me interested...:) I set up a test domain, schmoo.foo, with a single user, and wrote/modified the code I posted. It works, with the following assumptions:
1) The computer that the code runs on must be able to authenticate against the domain. 2) XMail is running in the user context of the SYSTEM account, or some other account which has the SE_TCB_NAME privilege. 3) The mail domain that is being authenticated against must still have entries for all users in mailusers.tab, although the passwords supplied there are ignored. If you have problems, I'll be happy to look at the code again.I did not do any logging of error conditions - this is strictly a first-cut sample. If anyone wants to modify this, please feel free (I do request notification of any changes made, so I can consider them for inclusion in the version I have here). You can find the code, along with a compiled executable and a sample .tab file, at http://www.arisiasoft.com/misc/ntauth.zip Good luck. At 18:34 6/3/2003, webmaster wrote: >Very nice! > >If you would be so kind to do so I (and Many others) would be very thankful. > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Tracy >Sent: Tuesday, June 03, 2003 4:49 PM >To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: [xmail] Re: External Password Authentication > > >At 17:45 6/3/2003, webmaster wrote: > >I am not a programmer by any means so thats a little over my head, unless > >you know where someone has already done this and they have scripts or code > >to offer? > >Well, I could set up a test domain locally and try it here... Probably be >tomorrow sometime before I got around to it, though.... > > >- >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] > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.486 / Virus Database: 284 - Release Date: 5/29/2003 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.486 / Virus Database: 284 - Release Date: 5/29/2003 > >- >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] - 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]
