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
ADMT NT4 to 2K Computer migration agent fails - Domain does not exist.
How to setup LDAP Auth server in rhel5
Best way to monitor my outgoing mail errors from an IIS webserver
Click on "View Workgroup Computers" - Mshome is not accessible
Connect the Dells
Create an email address with the format
[email protected]
<wbr />g
URGENT - QOS and HP 1800-24G
Netward 5.1 - Replicas not syncing in timely manner
How to deploy JMS Topic in weblogic 10.3
Clients not showing up in DNS