Hi everybody.

I would like to use my NT domain Usermame/Password to authenticate users in
my intranet, but I am not able to set up a working page.

I work under NT4/Apache 1.3.27/PHP4.3.0 I tried the following test script
using COM and OpenDSObject:

 $objWinNT = new COM("WinNT:") or die("Cannot get objWinNT object");
  $nobj=$objWinNT->OpenDSObject("WinNT://$domname", "$login", "$password",
0x01);
  if (is_object($nobj))
  {
   echo "PDC login done";
  }
  else
  {
   echo "PDC login failed";
   exit;
  }

but I get the following error:
Warning: (null)(): Invalid ProgID, GUID string, or Moniker: Invalid syntax
in ....

I am an absolute beginner using COM technology; can anybody give some
advice? A working test script wolud be greatly appreciated :-)

Thank you in advance
-- 
Ciao
Nico

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to