Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 05, 2009 11:02 PM by eikden
Feb 04, 2009 10:46 PM|LINK
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?
Feb 04, 2009 11:12 PM|LINK
Do you set the windows authenticated under IIS?
you can refer to following link:-
Feb 05, 2009 03:09 PM|LINK
yes. I disable the anonymous access.
i enabled windows authentication. it worked.
But i am using forms authetication cookie , but this uses kerbos. how these both coordinate.?
Feb 05, 2009 11:02 PM|LINK
If you use kerbos, same thing. which you need to checked the windows authentication and unchecked the anonymous access.