Solved

ip to user mapping in AD environment

Posted on 2008-06-12
4
309 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Creating and Managing Databases with phpMyAdmin in cPanel.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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…

820 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