'smbclient' with IP-address as input

hadicagi hadicagi at sp.zrz.TU-Berlin.DE
Mon Sep 22 17:07:47 GMT 1997


Hi,

I have compiled samba-1.9.17p1 and run it under SunOS4. I'd like
to have IP-address as input of 'smbclient'. I've tried several
options like 'smbclient -I xxx.xxx.xxx.xxx' but it doesn't work.
If I run smbclient like this 'smbclient -M xxx.xxx.xxx.xxx' then
it shows me like following for e.g. :

$ smbclient -M 130.149.48.33
Added interface ip=130.149.5.107 bcast=130.149.5.255 nmask=255.255.255.0
Get_Hostbyname: Unknown host 130.149.48.33.

Is there such a routine like 'Get_HostbyIP-address' in the source codes?
How can I input the IP-address instead of the hostname?

Thank you in advance.


Best regards,

Hadi

                             -=*hadi*=-
======================================================================
Technical University of Berlin
Department of Electrical Engineering
e-mail   : hadicagi at sp.zrz.tu-berlin.de
======================================================================



More information about the samba mailing list