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
Problem accessing cetain websites - Mainly Gmail
Cannot connect with VNC. Likewise, other machines cannot conect to my machine via VNC
Caculate GPS coordinate using a reference GPS coordinate
Windows equivalent to Netware _RW_C_F_ permission (add but not modify)
bios
How to configure a second 192.168.x.x nic on a server to be accessible from a 10.0.x.x LAN?
FVS318G gigabit WAN but 25megabit throughput on broadband?
Network connections and/or speeds plummet daily, usually late afternoon
Postfix - To many hops
SNMP and RADIUS