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. Web Development
  3. ASP.NET
  4. Need help connecting to Active Directory SSL

Need help connecting to Active Directory SSL

Scheduled Pinned Locked Moved ASP.NET
helpquestionsysadminwindows-adminsecurity
1 Posts 1 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.
  • G Offline
    G Offline
    Grapes R Fun
    wrote on last edited by
    #1

    hi Guys, I am having LDAP troubles :-( Im trying to connect to AD by using the code below, but I get error messages saying the "server is not operational" !!!! DirectoryEntry entryAgent = new DirectoryEntry("LDAP://localhost:636/", "username", "pswrd", AuthenticationTypes.SecureSocketsLayer | AuthenticationTypes.Secure); DirectorySearcher searchAgent = new DirectorySearcher(entryAgent); searchAgent.Filter = "(objectClass=*)"; foreach (SearchResult result in searchAgent.FindAll()) { Response.Write(result.GetDirectoryEntry().Name.ToString()); } Can anyone tell me what is it that Im not doing right?? Thanks in advance!!

    Nila "...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea

    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