Solved

ip to user mapping in AD environment

Posted on 2008-06-12
4
310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Suggested Solutions

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
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…
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…

739 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