Solved

ip to user mapping in AD environment

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article describes some very basic things about SQL Server filegroups.
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now