I use the following code to do the user authentication through Active Directory using LDAP.
entry = new DirectoryEntry("LDAP://" + server, user_name, password);
EmployeeNetId = entry.Username.Substring(0, 3);
// Retrieve EmployeeId, and Employee Full Name
EmployeeId = -1;
It works for Chrome, Firefox with no problem. But with IE 8, it works sometimes, and failed on some computers. When it failed, I figured that I need to check SSL 2.0 in IE 8 Internet Options. It's weird because in those computers that IE 8 works, SSL 2.0 is also unchecked.
Am I using some deprecated method? Or How do I specifiy the SSL version options in the LDAP connection?
View Complete Post