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?
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?
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.