File copying with smbclient vs. IIS

Remme, Stephen K (Steve) RemmeSK at LOUISVILLE.STORTEK.COM
Tue Sep 30 17:46:11 GMT 1997


On Monday, September 29, 1997 11:21 PM, samba at samba.anu.edu.au
[SMTP:samba at samba.anu.edu.au] wrote:
 ------------------------------
> 
> Date: Mon, 29 Sep 1997 20:50:42 -0700 (PDT)
> From: Thorsten Lockert <tholo at ebay.com>
> To: samba-team at samba.anu.edu.au
> Cc: samba at samba.anu.edu.au
> Subject: File copying with smbclient vs. IIS
> Message-ID: <199709300350.UAA23700 at thompson.ebay.com>
> 
> We are in a situation where we have to use IIS to publish some documents
> on the web.  However, these documents can currently only be generated on
> Unix.
> 
> This is not a problem, seeing that we can just make a tar file and use
> smbclient in tar mode (smbtar) to move the documents to the NT server with
> IIS.
> 
> However, there is one problem.  Apparently smbclient will open the files
> without specifying DENY_NONE, causing a sharing violation because IIS is
> doing extensive caching.  Replacing the file locally on the system will
> work, as will replacing it across the netwrok from another WinNT system.
> 
> I was hoping you might have some idea on how to get around this problem.
> Might it be as simple as using SMBopen with DENY_NONE (or perhaps just
> giving the DENY_NONE flag to SMBcreat?) when trying to extract the files?
> 
> Any help would be much appreciated!
> 
> Thorsten
> 

I use PWS (Personal Web Server, scaled down IIS), since I'm running
NTWS, to publish some UNIX generated documents on our intranet. 

I first created a Samba share for the directory in which the generated
documents reside. Then in PWS I created a 'virtual directory' which
points to the Samba share (e.g. create share \\Unix\www, then create
virtual directory '/unixweb', which is an alias for \\Unix\www). 

Maybe you've already tried this or there is some other reason you want
to move the documents to the server, but, this works great for me.



Steve Remme    	
Storage Technology Corporation     
2270 S. 88th Street, MS 2214	
Louisville, CO 80028-2214
Email:  RemmeSK at louisville.stortek.com
Voice:  (303) 673-6966          FAX:  (303) 673-8641



More information about the samba mailing list