Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Bind to a specific server using LDAP (VB.NET 2003)

Posted on 2004-10-27
10
Medium Priority
?
365 Views
Last Modified: 2008-02-01
I am currently using LDAP to bind to active directory, however, the command process I am calling (TSCMD) to modify AD users requires a servername to bind to, instead of just a domain name.  Every once in a while, my program will bind to DC2 instead of DC1, and then when I go to set the properties of the user on DC1 with TSCMD, the account has not yet replicated to DC1 because it was created on DC2.  Is there a way to bind to a specific server in AD using LDAP so that I can always guarantee that the accounts will be created on the same server as TSCMD references?

Thanks,
exx
0
Comment
Question by:exx1976
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
10 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 12425141
are you running windows 2000?
0
 
LVL 18

Author Comment

by:exx1976
ID: 12425154
Yes, Windows 2000.  Sorry..   In 2003 the TS properties are uncovered and available via APIs, in 2000 they are stored as BLOBs and the only way I know how to get at them is with this third party command line tool...

0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12425172
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 18

Author Comment

by:exx1976
ID: 12425203
Huh??  That doesn't seem related at all...   "The Microsoft LDAP API (wldap32.dll) cannot access LDAP servers that are multi-homed and have more than 51 IP addresses registered. This problem prevents the Active Directory Administration tools from accessing multi-homed Windows 2000 Domain Controllers with more than 51 IP addresses"


??
0
 
LVL 18

Accepted Solution

by:
exx1976 earned 0 total points
ID: 12425985
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12426038
Sorry i could nt help

I should give you points
0
 
LVL 18

Author Comment

by:exx1976
ID: 12430165
LOL  don't worry about it.

0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12815732
lets close this baby
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question