Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 1999 18:24:24 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Rami Soudah' <rsodah@index.com.jo>
Cc:        "FreeBSD Questions (E-mail)" <questions@FreeBSD.org>
Subject:   RE: smbclient
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105A17@site2s1>

next in thread | raw e-mail | index | archive | help
absolutely nothing.  :)

The lmhosts file is the SMB equivalent of the TCP/IP hosts file.  You are
not required to have one, if you wish you may create one.  All it does it
list machine names and then their IP addresses.

If there is a "master browser" or a WINS server on the network, this is
already taken care of an not needed.

It's kind of like having a hosts file when you're running a DNS server, it's
not needed.

You may wish to create an empty lmhosts file just to stop the error message,
but again this is non-fatal, and it not absolutely necessary.

You're ignoring the real error message, you're trying to connect to a
resource that doesn't exist.  It IS connecting to the machine otherwise you
would not be getting the password: prompt.

Type smbclient -L EARTH.  See what resources are actually listed.  If you
receive an error message doing that, report back to the list with the output
of that command.

Oh, and something I learned early on, it's easier to type 'smbclient
//earth/ftp' than 'smbclient \\\\earth\\ftp' and both work the same.  :)

-Chris

> -----Original Message-----
> From:	Rami Soudah [SMTP:rsodah@index.com.jo]
> Sent:	Monday, June 28, 1999 2:51 AM
> To:	freebsd-questions@FreeBSD.org
> Subject:	smbclient
> 
> 
> Greetings,
> 
> when i try to run smbclient at the prompt, i keep getting:
> "startlmhosts: Can't open lmhosts file /usr/local/etc/lmhosts.
> Error was No such file or directory"
> in spite of the above error, i can see my BSD box when i openned
> Network Neighborhood icon in the Win98 box.
> ISP----modem-----earth[BSD]-----metro[Win98]
> what shall i do?
> 
> Thanks in advance.
> 
> -Pons
> 
> --------------see the attachment--------------------
> earth# smbclient \\\\earth\\ftp
> Added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> startlmhosts: Can't open lmhosts file /usr/local/etc/lmhosts. Error was
> No such file or directory
> Server time is Tue Jun 29 05:40:28 1999
> Timezone is UTC+3.0
> Password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 1.9.18p10]
> security=share
> SMBtconX failed. ERRSRV - ERRinvnetname (Invalid network name in tree
> connect.)
> Perhaps you are using the wrong sharename, username or password?
> Some servers insist that these be in uppercase
> earth#
> ---------------//----------------
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105A17>