From owner-freebsd-questions Fri Aug 30 5: 7:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0689937B400 for ; Fri, 30 Aug 2002 05:07:34 -0700 (PDT) Received: from chicken.orbitel.bg (chicken100.orbitel.bg [195.24.32.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 5EC3343E6A for ; Fri, 30 Aug 2002 05:07:32 -0700 (PDT) (envelope-from i.tanusheff@procreditbank.com) Received: (qmail 10954 invoked from network); 30 Aug 2002 12:07:24 -0000 Received: from unknown (HELO procreditbank.com) (212.95.170.74) by chicken.orbitel.bg with SMTP; 30 Aug 2002 12:07:24 -0000 Received: from itaush [172.16.248.203] by Proxy+; Fri, 30 Aug 2002 13:57:04 +0300 for multiple recipients From: "Ivailo Tanusheff" To: "'Roman Neuhauser'" Cc: "FreeBSD Questions" Subject: RE: mounting shares? Date: Fri, 30 Aug 2002 13:57:02 +0300 Message-ID: <006c01c25013$f87d09e0$cbf810ac@sof.procreditbank.bg> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_006D_01C2502D.1DCA41E0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20020830072205.GG21595@freepuppy.bellavista.cz> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_006D_01C2502D.1DCA41E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit /usr/share/examples/smbfs/dot.nsmbrc : # $Id: dot.nsmbrc,v 1.6 2000/07/16 01:52:06 bp Exp $ # # Example for .nsmbrc file # # smbfs lookups configuration files in next order: # 1. ~/.nsmbrc # 2. /usr/local/etc/nsmb.conf - if this file found it will # override values with same keys from user files. # # # This file consist from a set of sections. Each section started by section name # surrounded with square brackets: # [section_name] # # End of the section marked either by new section or by the end of file. # Each section can contain zero or more parameters: # [section_name] # key=value # # where 'key' represents parameter name and 'value' a value assigned # to this parameter. # # SMB library uses next forms of section names: # A) [default] # B) [SERVER] # C) [SERVER:USER] # D) [SERVER:USER:SHARE] # # Here is the map of possible keywords: # # keyword/section A B C D Comment # # addr - + - - IP or IPX address of SMB server # charsets - + + + local:remote charset pair # nbns + + - - address of NetBIOS name server (WINS) # nbscope + + - - NetBIOS scope # nbtimeout + + - - timeout for NetBIOS name servers # password - - + + a plain text password used to access to the given share # retry_count + + - - number of retries before connection marked as broken # timeout + + - - SMB request timeout # workgroup + + + + name of workgroup # # A simple configuration example: # First, define a workgroup. [default] workgroup=SALES # The 'FSERVER' is an NT server. [FSERVER] charsets=koi8-r:cp866 addr=fserv.coolcorp.com [FSERVER:JOE] # use persistent password cache for user 'joe' password=$$1767877DF I hope this helps, Ivailo Tanusheff -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Roman Neuhauser Sent: Friday, August 30, 2002 10:22 AM To: Defryn, Guy Cc: 'questions@FreeBSD.ORG' Subject: Re: mounting shares? > From: "Defryn, Guy" > Subject: RE: mounting shares? > Date: Fri, 30 Aug 2002 17:00:05 +1200 don't top-post. > > From: Carl Schmidt [mailto:carl@slackerbsd.org] > > Sent: Friday, 30 August 2002 1:05 p.m. > > Subject: Re: mounting shares? > > > > On Fri, Aug 30, 2002 at 12:46:44PM +1200, Defryn, Guy wrote: > > > I am able to access shares on a NT machine by using smbclient. > > > Is there a way that I can mount this share permanently on my freebsd machine? > > > > > > Can I use smbmount for that? What would the command look like? > > > > Depending on your version of FreeBSD, mount_smbfs is available and can mount > > smb shares as though they were just another file system. > Thanks Carl, > > This works fine when using mount_smbfs. > I want to put this into fstab but it does not seem to work. > This is my entry: > > //server/share /smb smbfs username=name,password=pwd,rw 0 0 > > Any ideas? see mount_smbfs(8) -- FreeBSD 4.6-STABLE 9:18AM up 9 days, 15:11, 12 users, load averages: 0.08, 0.04, 0.01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message ------=_NextPart_000_006D_01C2502D.1DCA41E0 Content-Type: text/x-vcard; name="Ivailo Tanusheff.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Ivailo Tanusheff.vcf" BEGIN:VCARD VERSION:2.1 N:Tanusheff;Ivailo FN:Ivailo Tanusheff ORG:ProCredit Bank TITLE:System administrator and Security advisor TEL;WORK;VOICE:359 2 9217161 EMAIL;PREF;INTERNET:I.Tanusheff@procreditbank.com REV:20020822T070308Z END:VCARD ------=_NextPart_000_006D_01C2502D.1DCA41E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message