Microsoft
Software
Hardware
Network
Question : Active Directory authentication with a .NET application
Hi Everyone,
I'm in the process of creating anew framework for work. We use AD here (and it's my first time with access to it today!) and I'm a little confused about it. I am following this tutorial by MS:
http://msdn.microsoft.com/
en-us/libr
ary/
ms9983
60.aspx#pa
ght000026_
step1
.
So the idea is, people get to this login page ,they enter a username/password, my .NET code takes this, connects with AD, if you're a user there, bam! You're in! If not, just stay at login page.
So it seems, looking at the AD organization here, I see the domain controller, then three 4 DC properties, which seems to be the domain broken up. Then underneathe that folder, we have folders by each building. So we have close to 30 buildings probably, and each folder says "OU=building". Then each building has an OU=Admin, which is where I'm suppose to check the username. OU means organizational unit, I think.
So my question is, what is the best way to authenticate here? Do I need to hit each OU=Building_A folder, then check under OU=Admin...? Maybe I'm taking this too literally. Is there a Search Method/tool in AD that I can pass on the username/password to and have it do the work for me? I'm really new at this, so I'd appreciate any help.
TIA.
Answer : Active Directory authentication with a .NET application
I took a step back and used the DirectoryEnter and DirectorySearcher methods with username/password. I still don't know why the MS tutorial didn't work for me.
Random Solutions
restore default open program
Printer Migration - How do I migrate clients..?
Setting up Default Gateways Using 2 NICs and WINS
WPA-TKIP and RADIUS authentication
Windows XP Toshiba wireless laptop won't connect to public access points
How to open the " RDP-TCP" properties?
Ericcson GH688 AT commands
How to make cache server for Win 2k3
Adprep /domainprep fails. Please help!
menu for novell