From owner-freebsd-questions Mon Dec 7 02:34:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA12945 for freebsd-questions-outgoing; Mon, 7 Dec 1998 02:34:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from post.mail.demon.net (post-11.mail.demon.net [194.217.242.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA12940 for ; Mon, 7 Dec 1998 02:34:33 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.054 #1) id 0zmxzg-0005ng-00; Mon, 7 Dec 1998 10:34:24 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from beavis.uk.radan.com (beavis [193.114.228.122]) by uk.radan.com (8.6.10/8.6.10) with SMTP id KAA02204; Mon, 7 Dec 1998 10:33:25 GMT Received: from uk.radan.com (gppsun4) by beavis.uk.radan.com (4.1/SMI-4.1) id AA04388; Mon, 7 Dec 98 10:33:22 GMT Message-Id: <366BAEBC.479D8E5D@uk.radan.com> Date: Mon, 07 Dec 1998 10:32:28 +0000 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.03 [en] (X11; I; SunOS 4.1.3_U1 sun4m) Mime-Version: 1.0 To: "S. Rajnic" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: References: <98120710081702.19287@george.netlink.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG S. Rajnic wrote: > > Hello -- I'm running FreeBSD 2.2.7 (as my desktop client) with Samba port samba-1.9.18.8, trying to > connect to a Win NT 4.0 server for the purpose of printing. My smb.conf file passes the testparm check, > and i've made an entry into my /etc/printcap file that looks like: > > rlp|remote|Samba NTSERVER printer:\ > :rm=ntserver.ourdomain.com:sd=/var/spool/output/lpd:\ > :lf=/var/log/lpd-errs: > > However, when i try a command using the following line: > smbclient ////NTSERVER -U {myusername}%{mypassword} ^^^^ Should this not be ``\\\\''?. I've not got samba installed but I'm looking into it and only last night was reading about it in The Complete FreeBSD. I recall it saying that MS-DOS conventions are used (e. g.``\'' not ``/'') which therefore means escaping path separators, hence ``\\\\'' HTH > > I get the following message: > > Added interface ip=194.XX.XXX.92 bcast=194.XX.XXX.255 nmask=255.255.255.0 > startlmhosts: Can't open lmhosts file /usr/local/etc/lmhosts. Error was No such file or directory > Got a positive name query response from 194.XX.XXX.11 ( 194.XX.XXX.11 ) > Server time is Mon Dec 7 09:53:41 1998 > Timezone is UTC+0.0 > Domain=[TECH] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] > security=user > SMBtconX failed. ERRDOS - ERRnosuchshare (You specified an invalid share name) > Perhaps you are using the wrong sharename, username or password? > Some servers insist that these be in uppercase > > however, i am a valid user with a valid username within that NT domain, and > also a member of the Printer Operator's group. I'm new to all this so I don't > quite understand what lmhosts is or why it's looking for it (nothing in man -k, > nothing on freebsd.org, etc). help, anyone? > > Thanks, > Susan > susan@netlink.co.uk > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Trust the computer industry to shorten Year 2000 to Y2K. It was this thinking that caused the problem in the first place. Mark Ovens, CNC Applications Engineer, Radan Computational Ltd. Bath, Avon, England. Sheet Metal CAD/CAM Solutions mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message