Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Conect to the domain server

Conect to the domain server

Scheduled Pinned Locked Moved C#
csharpsysadminhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pq4noeh
    wrote on last edited by
    #1

    Hi everybody First i need to now if in a given intranet there is a domain server and if yes be able to connect to it in order to get information about the domain. I've been looking for this but i've not find anything about. My code is done in C# using the 2.0 framework, but any help even in other language will be great pleeeease. anyone can help me?? thanks everyone. NOthing by now;)

    R 1 Reply Last reply
    0
    • P pq4noeh

      Hi everybody First i need to now if in a given intranet there is a domain server and if yes be able to connect to it in order to get information about the domain. I've been looking for this but i've not find anything about. My code is done in C# using the 2.0 framework, but any help even in other language will be great pleeeease. anyone can help me?? thanks everyone. NOthing by now;)

      R Offline
      R Offline
      Ryan Roberts
      wrote on last edited by
      #2

      Not an AD expert by any means, but have been doing somework with it lately. Doing a dsquery server on the command line will return a list of comain controllers for your domain. I think this is a subset of cn=configuration,dc=yourdomain,dc=com. Of course, if you have no DC, that will not work :). Ryan

      "Michael Moore and Mel Gibson are the same person, except for a few sit-ups. Moore thought his cheesy political blooper reel was going to tell people how to vote. Mel thought that his little gay SM movie about his imaginary friend was going to help him get to heaven." - Penn Jillette

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups