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
Switch Basics
Cisco Wap2000 keeps needing a reboot
mapped drives on different workgroup prompt for password after reboot
Windows XP workgroup connectivity problems; can ping others, can't ping self
Cannot see webpage from inside local network
Setting up DHCP relay on cisco routers
How can i check what applications and services are running on windows server 2003. i mean services like print services,network mappings,exchange services and various applications
How do i enable access to mailmarshal performance counters?
BIND9 is not caching responses.
InterVlan routing using a Cisco 3750