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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top