RE: get ip from samba
Um hmmmm I'm assuming you mean from a remote host, if its running
windows and name resolution is set up right, then you can just ping the
host name.
C:\Documents and Settings\SJr>ping GAUSS
Pinging GAUSS [192.168.0.30] with 32 bytes of data:
Like so...
Steve
-----Original Message-----
From: Marcin [mailto:lfe@ghnet.pl]
Sent: April 8, 2004 8:31 AM
To: Debian-Security
Subject: Re: get ip from samba
Hello,
> Is there a way to get a machine's ip address, if I only know it's
> netbios name?
see in wins.dat file.
default:
/var/lock/samba/wins.dat
for example:
"ADTK#00" 1081647851 192.168.14.22 64R
there are NetBios Names, IPs, smb flags etc...
this is normal text file.
--
Marcin.
\\|//
(o o)
~~~~oOOo~(_)~oOOo~~~~
Cheers
--
To UNSUBSCRIBE, email to debian-security-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: