On 20-Apr-2001 [EMAIL PROTECTED] wrote:
> Posted on: news:microsoft.public.adsi.general
>
> We use an open source mail program (www.xmailserver.org) wich has the
> ability to authenticate externally. We want to authenticate against an
> Active Directory Server.
>
> We want to download or create a script or opensource program that can
> accomplish this.
>
> Requirements:
>
> 1. The program has to generate an errorcode of 0 when the user is
> authenticated and an errorcode other than zero when authentication fails.
Have You seen the post of the GUI suggesting You how to make a script ran with
cscript.exe to return an error code ?
> 2. The program can be written in for example Visual Basic (no gui),
> vbscript, jscript, C or C++
> 3. It must be an executable script (.exe , .vbs, etc.)
> 4. The script must execute with at least 2 parameters: username and password
> (and domain)
> 5. Our preferred method would be the WinNT-provider, because with the
> LDAP-provider also the container must be defined
>
> We've already tried:
>
> C++ ==> Q180548 (HOWTO: Validate User Credentials on Microsoft WinNT and
> Win95).
> We have trouble compiling this code.
>
> vb/vbs ==> http://msdn.microsoft.com/library/psdk/adsi/if_core_3uic.htm
> Problem with caching of username/password, see also Q218497
Try to take a look to :
http://www.openldap.org/
- Davide