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. LDAP

LDAP

Scheduled Pinned Locked Moved ASP.NET
sysadminquestion
6 Posts 3 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.
  • D Offline
    D Offline
    deepti sicsr
    wrote on last edited by
    #1

    Can we access password from LDAP Server?

    P G 2 Replies Last reply
    0
    • D deepti sicsr

      Can we access password from LDAP Server?

      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      What kind of password u would like to access. LDAP server password or user specific password

      Parwej Back...............DON of Developer....... Parwej Ahamad g_parwez@rediffmail.com

      D 1 Reply Last reply
      0
      • D deepti sicsr

        Can we access password from LDAP Server?

        G Offline
        G Offline
        Grapes R Fun
        wrote on last edited by
        #3

        You want to 'retrieve' the password, or simply authenticate a user? Most directories have hash/encryption methods put in place to prevent the interrogating agents from physically gaining access to information such as password.

        Nila

        D 1 Reply Last reply
        0
        • P Parwej Ahamad

          What kind of password u would like to access. LDAP server password or user specific password

          Parwej Back...............DON of Developer....... Parwej Ahamad g_parwez@rediffmail.com

          D Offline
          D Offline
          deepti sicsr
          wrote on last edited by
          #4

          actually i m getting user name through sn or name or cn properties but but authentication i need paaswords also of the users. so is it possible?

          1 Reply Last reply
          0
          • G Grapes R Fun

            You want to 'retrieve' the password, or simply authenticate a user? Most directories have hash/encryption methods put in place to prevent the interrogating agents from physically gaining access to information such as password.

            Nila

            D Offline
            D Offline
            deepti sicsr
            wrote on last edited by
            #5

            actually i m getting user name through sn or name or cn properties but but authentication i need paaswords also of the users. so is it possible? can i authenticate without passwords???

            G 1 Reply Last reply
            0
            • D deepti sicsr

              actually i m getting user name through sn or name or cn properties but but authentication i need paaswords also of the users. so is it possible? can i authenticate without passwords???

              G Offline
              G Offline
              Grapes R Fun
              wrote on last edited by
              #6

              Yes it is. You should be able to incorporate that within your DirectoryEntry object: DirectoryEntry entry = new DirectoryEntry("LDAP://yourdomain.com", _userNameParam,_passwordParam,authenticationType); ... Then proceed with the rest of your code, if the DirectorySearcher is able to return any result(s) then you have authenticated, if not, then the "password" must have had been incorrect.

              Nila

              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