[Samba] Machine confused about localhost
novosirj at umdnj.edu
Tue Dec 14 15:46:55 GMT 2004
Sounds good, but... nope:
added interface ip=184.108.40.206 bcast=220.127.116.11 nmask=255.255.255.0
cli_full_connection: failed to connect to //NJMSA-LM<20> (0.0.0.0)
Cannot connect to server. Error was NT_STATUS_UNSUCCESSFUL
Anyone else have any ideas? Does 'njmsa' perhaps not know where the
NetBIOS nameserver is located for some reason?
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| | novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
On Mon, 13 Dec 2004, Paul Gienger wrote:
>> I run rpcclient without specifying an IP address and I get the following
>> # /products/samba/bin/rpcclient //localhost -U novosirj
>> cli_full_connection: failed to connect to //LOCALHOST<20> (0.0.0.0)
>> Cannot connect to server. Error was NT_STATUS_UNSUCCESSFUL
>> ...the machine knows what localhost is otherwise:
>> ...anyone have any insights?
> (Speculating wildly like I usually do) I'd say that is because smbd/nmbd
> don't register the name localhost at all. When you say telnet localhost
> you're asking dns to look it up, which usually responds properly via
> /etc/hosts or possibly your dns server ( I think ours responds 127.0.0.1 if
> you ask who localhost is). When you ask for //localhost you're asking for
> the netbios host at localhost, which no one has claimed.
> Try without the // or with //<servername> and see if that works out better
> for you.
> Sorry if my usage of nmbd/netbios is bad.
> Paul Gienger Office: 701-281-1884
> Applied Engineering Inc.
> Systems Architect Fax: 701-281-1322
> URL: www.ae-solutions.com mailto: pgienger at ae-solutions.com
More information about the samba