> -----Original Message-----
> 
> Does anyone know the API interface to translate an tcp/ip address
> (ie: 123.456.789.123) to the corresponding NETBIOS name(ie: 
> \\workstation)?
> 

I'm assuming that you have a web access log from your proxy machine and
want to map that into the Windows PCs?

If my assumption is correct, then please read on.

You'll have to know whether the IP adresses are fixed addresses, in
which case your task is easy, or DHCP leased addresses, which will make
your task nearly impossible.

If you have fixed addresses, you'll have to use one of the functions
others have already talked about in their answers to your question.

If it's DHCP leased addresses, you'll need to have access to some log
file containing at least the IP address, Date/time leased *and* either
the NetBios Name or the MAC address of the computer's network card. If
the latter, you'll have to perform yet another lookup on some DB that
you'll create/maintain with MAC Addresses/NetBios Names.

Just thought I'd "open your eyes" in case you could have made some
"shortcuts" and failed to see the whole picture...

HTH,
  Fernando Madruga

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to