Obtain the IP address of a machine/user through Active Directory
Results 1 to 7 of 7

Thread: Obtain the IP address of a machine/user through Active Directory

  1. #1
    Registered User migel628's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    99

    Obtain the IP address of a machine/user through Active Directory

    I searched around here and the net, but could not find the answer. I'm trying to find the IP address of a machine/user using Active Directory and am unsure if this is possible. The basic idea is that since the machine already has an IP, the user would then use that IP to request authentication, so that IP would be associated w/ the user for the duration of that session.

    I have been wrong before, so my logic my be flawed. Anyway, any assistance would be ideal. Thanks in advance

  2. #2
    Registered User CeeBee's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    2,494
    Why would you ever want to use the IP for authentication??? Any request coming from that IP would then be assumed to be the said user, which may not be the case. A user may have several IP's (logged on multiple machines) and several users may have the same IP. Not good. You already have user-level authentication mechanisms in place... If you're using browser authentication you can take advantage of the integrated authentication in IE (and even Firefox )
    Protected by Glock. Don't mess with me!

  3. #3
    Registered User migel628's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    99
    The basic thought was that the IP address(es) used to login would be stored and that the last IP would, in theory, be where the user last logged in from. The reason I am trying to get this information is so that I can remote into the system to diagnose issues w/o asking the user for his/her IP/machine name.

  4. #4
    Registered User CeeBee's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    2,494
    Run a login script and store the addresses in a database or even a flat file. Or use something like bginfo and the users will have all the data on their screen.
    Protected by Glock. Don't mess with me!

  5. #5
    Registered User migel628's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    99
    Thanks for the suggestions. I was kind of hoping that there was already something in place through AD. However, the login script idea does have promise

  6. #6
    Chat Operator Matridom's Avatar
    Join Date
    Jan 2002
    Location
    Ontario, Canada
    Posts
    3,778
    At my current workplace, remote access is the primary form of assistance when they call the helpdesk. Usualy we put a sticker on the physical computer with the computer name, otherwise the call center guys are real good at getting the computer name from the user. Also many clients are aware of the questions that are going to be asked when calling in, so they will often have the computername already handy.
    <Ferrit> Take 1 live chicken, cut the head off, dance around doing the hokey pokey and chanting: GO AWAY BAD VIRUS, GO AWAY BAD VIRUS
    -----------------------
    Windows 7 Pro x64
    Asus P5QL Deluxe
    Intel Q6600
    nVidia 8800 GTS 320
    6 gigs of Ram
    2x60 gig OCZ Vertex SSD (raid 0)
    WD Black 750 gig
    Antec Tri power 750 Watt PSU
    Lots of fans

  7. #7
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161
    Small example for login script who logs IP User Machine:

    Echo ----New Entry computer log Entry--- >> \\server\share\netlog.txt
    echo echo %date% - %time% >> \\server\share\netlog.txt
    Echo User %username% has logged to %computername% >> \\server\share\netlog.txt
    ipconfig >> \\server\share\netlog.txt

    You can obviously play with this a little bit but the general idea is the same

    Cheers,
    abriel
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

Similar Threads

  1. [RESOLVED] 70-240: LETS DO THIS!!
    By 70-240 in forum Certification
    Replies: 14
    Last Post: February 20th, 2012, 03:35 AM
  2. IP Address Question
    By Pinnacle in forum Tech-To-Tech
    Replies: 6
    Last Post: August 19th, 2006, 07:58 AM
  3. DMZ IP Address Help
    By TheCardMan in forum Networking
    Replies: 4
    Last Post: June 16th, 2006, 02:45 AM
  4. centrino wireless adapter turned off?
    By nhergott in forum Internet and Networking
    Replies: 6
    Last Post: November 30th, 2004, 04:40 PM
  5. can't obtain an IP Address.
    By nunob in forum Networking
    Replies: 4
    Last Post: June 12th, 2003, 10:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •