How do you query LDAP server using VB.net 2003? RRS feed

  • Question

  • User-893814430 posted


    In ColdFusion, it's simple:

     <cfldap action = "query" name = "all" server = "" start = "" scope = "subtree" attributes = "">
     <cfoutput query="all">#attributes#</cfoutput>

    We moved away from CF to VB.net 2003, now 2005. The MX server has a bug that doesn't return the objectSID properly without patching (not gonna happen since CYA):


    I have poked about the web, but can't get a query to work. It must contain the objectSID & the normal suspects.

    What is the basic code needed to make this work? I have no code to show as it would be the same code you would find on the net:


    I think I have the wrong domain for this C# example, but the NET ADMIN will let me know tomorrow.

    Thank you in advance for your prompt professional replies.



    Wednesday, July 12, 2006 6:18 PM

All replies

  • User-893814430 posted

    ... & the answer is, the network guys do it using AD utilities.

    Thanx anyway.

    ; )

    Thursday, July 13, 2006 8:57 AM