Date: Fri, 30 Aug 2002 13:57:02 +0300 From: "Ivailo Tanusheff" <i.tanusheff@procreditbank.com> To: "'Roman Neuhauser'" <neuhauser@bellavista.cz> Cc: "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: RE: mounting shares? Message-ID: <006c01c25013$f87d09e0$cbf810ac@sof.procreditbank.bg> In-Reply-To: <20020830072205.GG21595@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <G.P.Defryn@massey.ac.nz>
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006c01c25013$f87d09e0$cbf810ac>
