You have two major functions in this area
 
1. Connect. This is where you specify the server, port, and network protocol you want to use. If you select connectionless you are using UDP, otherwise you are using TCP. For most folks, UDP is useless, so you may not want to play with it too much. You can also specify an SSL connection. Until you work out the basics, don't worry about it.
 
2. Bind. This is where you specify the ID you want to connect to AD with and the authentication mechanism you want to use. The calls are all going against the server/port that you specified in 1. Note that you can't authenticate a UDP connection (just one reason why you don't generally want to play with UDP).
 
Some apps combine that all together in the background so you don't see it such as my adfind command line tool. You simply specify what you want and off it goes and handles the binding and connecting and everything else for you.
 
  joe
 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Ouellet
Sent: Friday, March 11, 2005 11:03 AM
To: [email protected]
Subject: [ActiveDir] Binding to ldap process..

Hi,
 
 
I'm trying to understand the process of binding to an ldap server. I'm toying with ldp.exe and I'd like to know a little bit more about the different bind options...
 
If you decide to connect to port 3268 to query the GC and then decide to bind do you bind on port 389 or continue to authenticate to the GC? You see, I'm just a wee bit confused as to what happens in the background :)
 
Thanks,
Francis Ouellet
 
 

Reply via email to