Hi les, There are a few tools and options that can help you here (logon/off scripts etc). But this data is not natively stored in AD as Marc mentioned. Limit...
Hi Shaun, From an app I wrote a year or so back; Medium - must contain min 7 characters, one numeric digit, one special character High - must contain Mixed...
Hello Shaun, Although this is not exactly what you asked, it might still be a basic enough and provide you a good solution to doing the work yourself. It's a...
I have a client with two AD domains. One is "Intranet" and the other is "SecureIntranet". There is a one way trust set up so that users logging in to the...
Can you explain the domain setup and the delegation setup in more detail? I assume these domains are in a separate forest? I'm not positive, but I think you...
Yes, the domains are in two separate forests. I spent some time on the phone with the client this morning and they are unwilling to set up a two way trust for...
Hi Joe, One of the cases I have is that I am fetching all of the users and all of the groups the users are associated with in an application. This supports an...
Hello, Was actually referred to your group for questions about a vbs file I converted over to asp which runs a LDAP query for various user info fields. I am...
You are missing some 'set's in your code. Set the stuff in red below. Anything that isn't a simple variable needs a 'set' instead of just an assignment...
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...