LDAP path problem

Last post 06-22-2009 9:43 AM by papabear. 5 replies.

Sort Posts:

  • LDAP path problem

    06-16-2009, 3:13 AM
    • Member
      1 point Member
    • kocakden
    • Member since 06-05-2009, 10:14 AM
    • Posts 4
    Hi All, I created a web application which uses form authentication to authenticate windows credentials. I followed this article http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q316748 but i am getting exception because of the the LDAP path ("The server is not operational"). I creted a virtual directory to run this solution and the path is http://localhost/auth. I could not figure out how to write the LDAP path. Thanks.
  • Re: LDAP path problem

    06-16-2009, 1:56 PM
    • Contributor
      5,138 point Contributor
    • papabear
    • Member since 08-08-2005, 11:49 AM
    • Posts 851

    The ldap path will be something like this "LDAP://DC=microsoft,DC=com" (if your domain was microsoft.com). You can also search sublevels such as OUs -> "LDAP://OU=Communications,OU=Staff,DC=microsoft,DC=com" with each level being appended to the front. You can also prefix it with a specific machine name -> LDAP://myDc.microsoft.com/DC=microsoft,DC=com

    This also might help -> http://msdn.microsoft.com/en-us/library/x8wxt72e(VS.71).aspx

    have fun!

    m

    give me suggestions for what to blog... http://www.myfriedmind.com/techblog -> thx

    Mark as "Answered" if this solves that wee old problem...
  • Re: LDAP path problem

    06-17-2009, 6:34 AM
    • Member
      1 point Member
    • kocakden
    • Member since 06-05-2009, 10:14 AM
    • Posts 4
    Thanks for the reply but i couldn't still figure out the problem. Do i have to have a domain name to use this LDAP or do i have to work on a server (windows server 2003)?
  • Re: LDAP path problem

    06-17-2009, 9:45 AM
    Answer
    • Contributor
      5,138 point Contributor
    • papabear
    • Member since 08-08-2005, 11:49 AM
    • Posts 851

     I would, at least to verify all is working, use the FQDN of the DC that you are trying to access. That way you can see if there might be another issue:

    ex - you are in the domain myCompany.com and your dc is DC1:

    LDAP://DC1.myCompany.com/DC=myCompany,DC=com

    :)

    give me suggestions for what to blog... http://www.myfriedmind.com/techblog -> thx

    Mark as "Answered" if this solves that wee old problem...
  • Re: LDAP path problem

    06-18-2009, 6:33 AM
    • Member
      1 point Member
    • kocakden
    • Member since 06-05-2009, 10:14 AM
    • Posts 4
    Thank you very very much. I checked my FQDN from Primary DNS Suffix which i get from cmd -> ipconfig/all. LDAP://myCompany.com was enough for me! Cheers.
  • Re: LDAP path problem

    06-22-2009, 9:43 AM
    • Contributor
      5,138 point Contributor
    • papabear
    • Member since 08-08-2005, 11:49 AM
    • Posts 851

    Remember to mark as answered...

    :)

    give me suggestions for what to blog... http://www.myfriedmind.com/techblog -> thx

    Mark as "Answered" if this solves that wee old problem...
Page 1 of 1 (6 items)