adsi
Using ADSI To Open A Newly Created AD LDS Instance
I created a new instance using Active Directory Lightweight Directory Services Setup Wizard with the distinguished name of CN=MyName,DC=MyComponent successfully. I see the instance as a running window[详细]
2023-04-03 02:37 分类:问答"Network path not found" when using WinNT provider and Delphi to query ADSI
I am querying ADSI using the WINNT provider with code similar to this : var User : IADSUser; begin User := GetObject(\'WinNT://\'+domainname+\'/\'+username + \', user\') as IADSUser;[详细]
2023-03-26 20:33 分类:问答List all stopped application pools in an IIS6 farm
I\'d like to print only those IIS6 pools t开发者_如何学Pythonhat are stopped or stopping (have an AppPoolState of 3 or 4). If everything else is fine (all started), just print out \"OK\". I\'m not sur[详细]
2023-03-11 15:07 分类:问答Weird sAMAccountName when creating user account using DirectoryServices
my C# code uses the DirectoryServices namespace to create domain user accounts. DirectoryEntry deRoot = new DirectoryEntry(\"LDAP://OU=MYOU,DC=DOMAIN,DC=LOCAL\");[详细]
2023-03-08 23:39 分类:问答ADsDSOObject & .NET return different values (types) for objectSID
I have a user created stored procedure in a database server that queries active directory for user information and inserts the data into a table.We wish to remove the operation from the database serve[详细]
2023-03-08 13:57 分类:问答LookupAccountSID is returning incorrect domain name
MSDN says: LookupAccountSid function returns the name of the first domain on which SID is found. If a User is migrated to domain B from domain A and we query the old SID of user by using LookupAccou[详细]
2023-03-08 09:54 分类:问答VBScript returning 0 rows when ADSIEdit returns correct number of rows
I\'ve been banging my head against this for the last two days or so, and without much success - regardless what I try.[详细]
2023-03-04 05:56 分类:问答Clear cached results of Active Directory queries at domain controller
I am establishing an external trust between 2 Win2003 forests. Then i m retrieving groups names from 2nd forest domain while sitting in the domain of 1st forest. Then, i am removing the trust and doin[详细]
2023-03-03 13:33 分类:问答Powershell script returns exception when using ADSI
I get exceptions when executing a Power shell script (v1.0) on Windows Server 2008 (32 bit). It uses ADSI for searching a virtual directory before its deletion.[详细]
2023-02-18 22:29 分类:问答Querying Service Status with ADSI - what rights are needed?
I\'m using VB6 and using ADSI to query for the status (running or not) of a Windows Service.See this MS article: http://msdn.microsoft.com/en-us/library/aa746322(v=vs.85).aspx.[详细]
2023-02-18 07:28 分类:问答