From owner-freebsd-questions Sun Jun 27 15:22:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 7CD8514CA1 for ; Sun, 27 Jun 1999 15:22:42 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Sun, 27 Jun 1999 18:22:41 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105A17@site2s1> From: Christopher Michaels To: 'Rami Soudah' Cc: "FreeBSD Questions (E-mail)" Subject: RE: smbclient Date: Sun, 27 Jun 1999 18:24:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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