Re: Basic Samba Question from Newbie
- From: David Schwartz <davids@xxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 06:41:07 -0700 (PDT)
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
.
- References:
- Basic Samba Question from Newbie
- From: root
- Basic Samba Question from Newbie
- Prev by Date: Re: high-availability: LVS vs HAProxy question
- Next by Date: Re: Basic Samba Question from Newbie
- Previous by thread: Basic Samba Question from Newbie
- Next by thread: Re: Basic Samba Question from Newbie
- Index(es):
Relevant Pages
|