AD authentication
-
Hi, I'm following the example below in asp.net 1.1 as a simple means for testing a pair of AD credentials: http://www.codeproject.com/useritems/NET\_LDAP\_Authentication.asp This works fine, but it returns false when used with valid passwords that contain non standard characters such as &. Does anyone have any info on the types of character conversion that AD needs for authentication? Also, is there a simple way that I can make the application secure so that plain text passwords aren't sent over the network? Thanks
-
Hi, I'm following the example below in asp.net 1.1 as a simple means for testing a pair of AD credentials: http://www.codeproject.com/useritems/NET\_LDAP\_Authentication.asp This works fine, but it returns false when used with valid passwords that contain non standard characters such as &. Does anyone have any info on the types of character conversion that AD needs for authentication? Also, is there a simple way that I can make the application secure so that plain text passwords aren't sent over the network? Thanks
-
Hi, I'm following the example below in asp.net 1.1 as a simple means for testing a pair of AD credentials: http://www.codeproject.com/useritems/NET\_LDAP\_Authentication.asp This works fine, but it returns false when used with valid passwords that contain non standard characters such as &. Does anyone have any info on the types of character conversion that AD needs for authentication? Also, is there a simple way that I can make the application secure so that plain text passwords aren't sent over the network? Thanks
Should have 75-80% of everything you could want to know for AD coding in .Net: http://www.c-sharpcorner.com/UploadFile/ecabral/ADand.NET08242005065451AM/ADand.NET.aspx In direct answer to your second question: DirectoryEntry de = new DirectoryEntry(); de.AuthenticationType = AuthenticationTypes.Secure; -Roo