Jun 04, 2006 02:25 PM|supermanzdead|LINK
I am really new to LDAP programming with ASP.net 2.0 and I had a few questions...
First off, when searching for objects in AD when should you use the RootDSE object instead of the regular LDAP:\\OU=OUName,DC=DCName,DC=Com?
Second, I snagged a code snippit to help me learn and (code posted below) had a few questions about the code, first can you tell which computers are orphaned or disabled using this method, also can you see which stations haven't changed their passwords in
say over 60 days? Same questions about user accounts (I havent ventured into user accounts just yet). I am learning as I go and would really appreciate any help you guys can provide :)
strCompName = Mid(adsComputer.Name, 4)
ocnt = ocnt + 1