Solved

ip to user mapping in AD environment

Posted on 2008-06-12
4
307 Views
Last Modified: 2013-12-24
I am working on a network gateway appliance and like to log all the users going out to the internet through this gateway. Every user gets the ip address from a dhcp server and must be authenticated by a AD server first. All I have is the source ip address in the ip packet. Is there a way to query the userid from the AD server using the ip address?

Thanks.
0
Comment
Question by:mike233
  • 3
4 Comments
 
LVL 5

Assisted Solution

by:pbeirne
pbeirne earned 250 total points
ID: 21775070
There is no inherent Active Directory user to IP mapping.  You would have to use some other means to create a database that contains the mapping such as a logon script that populates a database with the user info and IP.
0
 

Author Comment

by:mike233
ID: 21775097
Can you give me a pointer how the logon script can be done? Is it run on the AD server? Thanks.
0
 
LVL 5

Accepted Solution

by:
pbeirne earned 250 total points
ID: 21778785
0
 
LVL 5

Assisted Solution

by:pbeirne
pbeirne earned 250 total points
ID: 21778821
One other alternative might be to programmatically query the WINS database which holds both user and IP registrations and then parse the output to a file or database.

You can download a tool from microsoft to run a WINS query via command line. It's called NBLOOKUP and works pretty much like NSLOOKUP for DNS.

http://support.microsoft.com/Default.aspx?kbid=830578

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question