From owner-freebsd-questions@FreeBSD.ORG Fri May 9 13:49:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC7E31065670 for ; Fri, 9 May 2008 13:49:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 756F38FC1D for ; Fri, 9 May 2008 13:49:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JuSyw-0004DX-3F for freebsd-questions@freebsd.org; Fri, 09 May 2008 13:49:54 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 May 2008 13:49:54 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 May 2008 13:49:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 09 May 2008 15:49:41 +0200 Lines: 72 Message-ID: References: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13DF6F9A3ABBB78A3E8B7FDD" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.12 (X11/20080227) In-Reply-To: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Questions from a Total samba Novice. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2008 13:49:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13DF6F9A3ABBB78A3E8B7FDD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Martin McCormick wrote: > I just found out that I will need to copy some files > from a FreeBSD system to a Windows shared drive on our network so that > Windows users can have access to the files. >=20 > After reading a little documentation and talking to a > cowworker, I was under the impression that this would allow > windows clients to access files on the FreeBSD system, kind of > the reverse of what I wanted. Then I read the man page for the > samba suite and it says: >=20 > smbclient(1) > The smbclient program implements a simple ftp-like client. This is= > useful for accessing SMB shares on other compatible servers (such as= > Windows NT), and can also be used to allow a UNIX box to print to a= > printer attached to any SMB server (such as a PC running Windows= > NT). >=20 > That sounds like I could push a file across when needed and be > done with it rather than trying to coordinate the remote users > to get the file at some time after I left it in a given > directory. >=20 > Is that just wishful thinking or will it work that way > when properly configured? I need to be able to tell others in > this group what is possible and that one little paragraph seems > to say one can copy out from the UNIX box to the shared drive. Hi, After reading all this I'm still not certain about what do you want to do. If you are trying to just transfer some files from a FreeBSD machine to a Windows machine (or in the other direction) once, without much configuration, smbclient will let you do that. Run it on the FreeBSD machine and connect to a Windows machine. If you want to make the FreeBSD machine into a server for Windows machines (i.e. the files will always be on the FreeBSD machine but Windows users can access them, i.e. the FreeBSD machine will share files), then you need to configure Samba properly (edit smb.conf). > Any particular gotchas regarding XP which soon will be > Vista in this neck of the woods? No particular problems. Once configured, Samba works without additional maintenance. --------------enig13DF6F9A3ABBB78A3E8B7FDD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIJFZ2ldnAQVacBcgRAmCsAKCdCj81zjOGkxDVIwye8xPy/ykJ5wCfWKld 2zNPFHG64XC95YyImn0O6Xo= =ZzaW -----END PGP SIGNATURE----- --------------enig13DF6F9A3ABBB78A3E8B7FDD--