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
Configure from static IP to DHCP remotely w/o loging on remotely
Disconnect connections from a particular IP
Find 2 devices with same IP accross WAN
SSH on a Cisco router
Identity Manager jclient error when creating user.
Windows 2003 server slow boot issue
TS 2003 Session
ADUC 3rd Party Tools for Enterprise Use
PTR record
CISCO FLASH BACKUP