LDAP on a stand alone 2000 client

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

I want to test out active directory authentication on a
Windows 2000 client. Is this possible?

If my client PC is called CLIENT and is in a workgroup
WORKGROUP, do I use

DirectoryEntry
("LDAP://DC=CLIENT,DC=WORKGROUP", "user1", "password")

if user1 exists on CLIENT?
 
Jason said:
I want to test out active directory authentication on a
Windows 2000 client. Is this possible?

If my client PC is called CLIENT and is in a workgroup
WORKGROUP, do I use

DirectoryEntry
("LDAP://DC=CLIENT,DC=WORKGROUP", "user1", "password")

if user1 exists on CLIENT?

You can't do this unless there is an LDAP server running on the client
machine (and it is an Active Directory server). I think you can use the
WinNT provider though, with a binding string something like
"WinNT://MyServer/User" - more examples in the "WinNT ADsPath" article in
PSDK documentation.

Once you have the code working, you can change the binding string to use the
LDAP provider to contact Active Directory instead of the local account
information.

Ian
 
Back
Top