So I pull these workstation lastlogon dates from the domain controllers (thank you, Joe and Ryan, for The Book) and 95% plus report valid dates. That's fine! ...
Hi guys, My company is currently migrating servers from Win2k to Win2k3. However, we encountered a problem wherein a line from our ADSI code, which works...
The below works on my end on 2003, so I don't think your code is the issue. Dim user As IADsUser user = GetObject("WinNT://servername/" + txtUN.Text + ",user")...
I've tried to set the Virtual Folder in IIS to have Anonymous Access and it still errors out. How do i know if i need to do some impersonation in my code?...
The article you reference is probably the much more secure way of doing it, in that it limits the impersonation to the actual calls that require the security...
Simple Script running on Windows Server 2003. Error it returns is UserAccountInfo.vbs(12, 2) Provider: Table does not exist. Call DisabledAccounts Sub...
My guess would be that you have the domain specified incorrectly. The sample works fine in my environment with that single change. Regards, Michael B. Smith ...
Thanks. Further research shows that basically the script assumes ADSI Dir Services are installed, and they are not on my server. The WinServer I have on my...
Critical point, that you aren't in an A/D environment. You need to look into using the WinNT: provider instead of the LDAP: provider. You can get the same...
Dear All, I have tried to access the Active Directory user details throught C# console application. But i got the error as "Error authentication user. The...
Dear All, I have tried to connect the Active directory and add a user in AD. I have got the error like "Error authenticating user.The specified domain either...
You'll get this error if the thread the code is executing under is not a domain user account. That is because you are using a serverless binding path and...
Hi Joe, I have used the path "LDAP://adsso. madnn.ac. nr/OU=TEST, DC=adsso, DC=madnn, DC=ac,DC= nr" Still i'm getting error like "Error authentication...
If supplying the DNS name of the domain in your path makes the "domain could not be contacted" error go away, then that means you'll need to be aware when your...
Hi Raja, After reading Joe's recent comments below about the username format, and at the risk of pointing out something obvious... ... container = new ...
That's a good catch. :) I program so much more often in VB than in C# (corporate IT standard where I work) that I almost always forget to add my @ signs on...
Dear All, I've tried to change password of user in Active directory using the below code. But it throws error like "System.UnauthorizedAccessException and...
Kindly let me know following questions What are the requirement for Active Directory Client. How an client PC retrieve the GPO setting from Active Directory...
Hi, Thanks. After reading the below forum link. I have successfully changed the user password in AD. http://forums.asp.net/t/316534.aspx?PageIndex=1 ... From:...
Sorry if this question was already asked before - but I was not able to find it - I need to verify user name and password, I don't need any edits to be done -...
I know: Name of server is DIP Name of Group is Farm_group I need a page with code in ASP classic NO NET!... create a page in ASP with a box and button. In the...
Hi salsaviorsal If you have already solved this great if hot you might consider this option. There are probably a number of ways to do this but one might be to...
I was looking through the archives looking for ways to filter out disabled user accounts and came across a reference to this VS2003 add-in. Microsoft Visual...
I'm not sure if the VS.NET addins still exist or not, but I don't think they were ever too useful. If you really want something to help you build queries, I'd...
Hi, I have one service running on 2003 server. This service talks with AD and gets the members of some groups from whole forest. This service gets user...
The code below works to obtain the list of domain controllers within the currently logged in domain. Is it possible to obtain the same list from another...