I've worked with ASP.NET in the past and have had no issues using the built in ASP.NET Configuration tool to setup users and have them login. I'm wanting to expand that now and take a ASP.NET Default Web Application that has a prebuilt
login page and modify it to work with LDAP. I'm hoping that someone can help me. Below you will find a screen-shot of what my Solution Explorer looks like currently. I'm also using Visual Web Developer 2010 Express.
I went and followed that link that you sent. Still no luck. When I put in a set of AD credentials (that are working) and try to login to the form, it won't allow me.
Strike that. I was using the IP address of the AD server instead of the name. Any possible way that you would know where I could find a list of items that I can pull from AD and show on a "Profile Page"?
You mean properties of a user object? If you have access to ADUC and you can speak your system admin, best way it to look show them in the Attribute Tab. There are also websites that post most commonly used properties. You can also run some code to show
all the ones that are populated, but any that are not populated will not be shown since they technically do not exist if they contain no data.
maddtechwf
Member
17 Points
147 Posts
VB.NET and LDAP Login
Jul 25, 2012 12:49 PM|LINK
Languages: VB.NET & ASP.NET
I've worked with ASP.NET in the past and have had no issues using the built in ASP.NET Configuration tool to setup users and have them login. I'm wanting to expand that now and take a ASP.NET Default Web Application that has a prebuilt login page and modify it to work with LDAP. I'm hoping that someone can help me. Below you will find a screen-shot of what my Solution Explorer looks like currently. I'm also using Visual Web Developer 2010 Express.
gww
Contributor
2143 Points
458 Posts
Re: VB.NET and LDAP Login
Jul 25, 2012 10:48 PM|LINK
See the following link and link provided in solution 2 on that page.
http://www.codeproject.com/Questions/124938/LDAP-AD-authentication
maddtechwf
Member
17 Points
147 Posts
Re: VB.NET and LDAP Login
Jul 26, 2012 12:32 PM|LINK
I went and followed that link that you sent. Still no luck. When I put in a set of AD credentials (that are working) and try to login to the form, it won't allow me.
maddtechwf
Member
17 Points
147 Posts
Re: VB.NET and LDAP Login
Jul 26, 2012 12:34 PM|LINK
Strike that. I was using the IP address of the AD server instead of the name. Any possible way that you would know where I could find a list of items that I can pull from AD and show on a "Profile Page"?
gww
Contributor
2143 Points
458 Posts
Re: VB.NET and LDAP Login
Jul 27, 2012 06:17 PM|LINK
You mean properties of a user object? If you have access to ADUC and you can speak your system admin, best way it to look show them in the Attribute Tab. There are also websites that post most commonly used properties. You can also run some code to show all the ones that are populated, but any that are not populated will not be shown since they technically do not exist if they contain no data.
see my reply here, http://forums.asp.net/t/1827490.aspx/1?find+problem+to+user+AD+attributs