Last post Feb 05, 2009 11:02 PM by eikden
Feb 04, 2009 10:46 PM|rakesh2kv|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|eikden|LINK
Do you set the windows authenticated under IIS?
you can refer to following link:-
Feb 05, 2009 03:09 PM|rakesh2kv|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|eikden|LINK
If you use kerbos, same thing. which you need to checked the windows authentication and unchecked the anonymous access.