Directory entry : authentication RRS feed

  • Question

  • User-1465070452 posted

                 DirectoryEntry root = new DirectoryEntry(@"LDAP://rootdse");
                string path = root.Invoke("GET", "defaultNamingContext").ToString();
                DirectoryEntry entry = new DirectoryEntry("LDAP://" + path);

    I am using the above code to authenticate user against AD. 

    But when i deploy it under iis , user is not authenticated?

    Wednesday, February 4, 2009 6:46 PM

All replies