Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 1996 12:25:47 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        www@mnemosyne.muse.com.au (Richard Beyer)
Cc:        questions@FreeBSD.ORG
Subject:   Re: Samba
Message-ID:  <199605231025.MAA25250@gilberto.physik.rwth-aachen.de>
In-Reply-To: <Pine.BSF.3.91.960523191227.575B-100000@mnemosyne.muse.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> Is there any way of mounting a Win95 drive using samba.
> 
> Currently I can use smbclient \\\\host\\c but this puts me in a shell of 
> sorts. 

You cannot 'mount' Win95 drives a la 'mounting' a unix drive from
Win95.

What you can do is automate the script a bit more so that
interaction isn't required.

put script:

#!/bin/sh
if [ $# != 1 ] ; then
   echo 'usage: put <file>'
   exit 1
fi
/usr/local/samba/bin/smbclient "\\\\pcwin95\\share" -N -U guest <<EOF
put $1
quit
<<EOF
exit 0


instead of put you can use dir or get as well.

> 
> Any pointers greatly appreciated.
> 
> Cheers,
> Richard.
>  
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605231025.MAA25250>