Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to know users logged into the domain and from which IP. I know it is possible to see by monitoring AD eventlogs. However, I want to do it without any software on AD server itself. Is it possible to get that information by LDAP queries?

share|improve this question

1 Answer 1

Does a script count? I found one that will do the basic query and looping to get username and last login...you would still need to figure out the attribute for the last login IP address though.

Here is the script home (vb script and powershell versions) and a Discussion of use. You can edit the script to target a specific DC instead of the directory as a whole.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.