Re: Basic Samba Question from Newbie



On Apr 28, 2:12 am, root <gizm...@xxxxxxxxxxxxxx> wrote:

If I use:
smbclient -L //hostname -U Username
I'm prompted for a password as expect, put it in and get a list of
shares
on the host:

Which is fine and dandy. BUT if I issue the same command using the
IP address
instead of the host name:
smbclient -L //192.168.1.25 -U User
I get the same as before but with the extra lines:

session request to 192.168.1.25 failed (Called name not present)
session request to 192 failed (Called name not present)

The name you called the server "192.168.1.25" is not present in the
list of NETBIOS names for that host. If you read the documentation,
you can see that '-L' is supposed to be followed by the NETBIOS name
of the host. If you want to specify the IP to connect to, use '-I'.

DS
.



Relevant Pages

  • Re: DNS / WINS
    ... DNS is used for resolving host names to IP addresses and IP addresses to ... WINS is used for resolving NetBIOS names to IP addresses (but does not do ...
    (microsoft.public.sms.admin)
  • Re: DNS, WINS-R, Other?
    ... the record does not show up in DNS or in the WINS database. ... >> querying the host at the requested IP address for its NetBIOS host ... > kind of a direct NetBIOS query of the host at that IP address to find out ... > what its host name is, then caching that lookup in the NetBIOS cache. ...
    (microsoft.public.windows.server.dns)
  • Re: netbios and sql replication
    ... lmhosts, hosts, DNS, sometimes DNS (if the host name has a. ... > If i have netbios enabled on the distributor is there any way to make it ... > subscriber in the host file and in the client network utility. ...
    (microsoft.public.sqlserver.replication)
  • Re: WINS
    ... resolution occurs as Jeff explains. ... If it's querying the NetBIOS ... local host name and continue as described (hosts file, hosts cache, ... > If the DNS server cannot resolve the host name, ...
    (microsoft.public.win2000.security)
  • Re: Workstation logon error.
    ... LMHosts == LAN Manager Hosts Table, a NetBIOS table use to specifically identify NetBIOS ... |> | I have not inputed an entry in the lmhosts file, ... |> NBTSTAT /? ... |> Ping uses TCP/IP to check if a host is "live". ...
    (microsoft.public.win2000.general)