Adobe Photoshop problem with saving on Samba shares

Andrew Boswell A.Boswell at uea.ac.uk
Fri Jan 7 16:41:28 GMT 2000



We are experiencing problems with Adobe Photoshop and Samba, all 
versions up to 2.0.6.  We run Samba off Compaq Alphaservers (ie 64 bit).

Symptoms:
1) On doing a "Save As" in Photoshop, we intermittently get:
	"Could not save as F:\<filename> because the file is already in 
	use or was left open".  
   A zero length file is left on the Samba share. 

2) Problem only occurs on Samba shares

3) The frequency of the problem appears to reduce when Samba logging is 
   turned on which perhaps indicates a timing problem between Samba and 
   PC.

I attach segments of log files (debug level 3) showing the point at 
which the failure occurs.  

*** CORRECT SAVE functionality ********

[2000/01/07 15:42:28, 3] smbd/error.c:error_packet(138)
  error packet at line 818 cmd=50 (SMBtrans2) eclass=1 ecode=2
[2000/01/07 15:42:28, 3] smbd/process.c:process_smb(615)
  Transaction 781 of length 95
[2000/01/07 15:42:28, 3] smbd/process.c:switch_message(448)
  switch message SMBntcreateX (pid 7677)
[2000/01/07 15:42:28, 3] lib/doscalls.c:dos_ChDir(336)
  dos_ChDir to /
[2000/01/07 15:42:28, 3] lib/doscalls.c:dos_ChDir(336)
  dos_ChDir to /tmp
[2000/01/07 15:42:28, 3] smbd/nttrans.c:nt_open_pipe(543)
  nt_open_pipe: Known pipe srvsvc opening.
[2000/01/07 15:42:28, 3] smbd/process.c:process_smb(615)
  Transaction 782 of length 152
[2000/01/07 15:42:28, 3] smbd/process.c:switch_message(448)
  switch message SMBtrans (pid 7677)
[2000/01/07 15:42:28, 3] smbd/ipc.c:reply_trans(3619)
  trans <\PIPE\> data=72 params=0 setup=2
[2000/01/07 15:42:28, 3] smbd/ipc.c:named_pipe(3476)
  named pipe command on <> name


*** FAILURE TO SAVE functionality ********

[2000/01/07 15:43:17, 3] smbd/error.c:error_packet(138)
  error packet at line 818 cmd=50 (SMBtrans2) eclass=1 ecode=2
[2000/01/07 15:43:17, 3] smbd/process.c:process_smb(615)
  Transaction 1266 of length 39
[2000/01/07 15:43:17, 3] smbd/process.c:switch_message(448)
  switch message SMBntcancel (pid 7677)
[2000/01/07 15:43:17, 3] lib/doscalls.c:dos_ChDir(336)
  dos_ChDir to /
[2000/01/07 15:43:17, 3] smbd/error.c:error_packet(127)
  32 bit error packet at line 1396 cmd=160 (SMBnttrans) eclass=c0000120 [Error: Unknown error (32,49152)]
[2000/01/07 15:43:17, 3] smbd/nttrans.c:reply_ntcancel(1289)
  reply_ntcancel: cancel called on mid = 12674.
[2000/01/07 15:43:17, 3] smbd/process.c:process_smb(615)
  Transaction 1267 of length 39
[2000/01/07 15:43:17, 3] smbd/process.c:switch_message(448)
  switch message SMBntcancel (pid 7677)
[2000/01/07 15:43:17, 3] smbd/error.c:error_packet(127)
  32 bit error packet at line 1396 cmd=160 (SMBnttrans) eclass=c0000120 [Error: Unknown error (32,49152)]
[2000/01/07 15:43:17, 3] smbd/nttrans.c:reply_ntcancel(1289)
  reply_ntcancel: cancel called on mid = 12739.

************************************************************************

I would appreciate advice on how to circumvent this in the short term.  
Is it possible to fix it in Samba?  I can provide full log file to 
anyone who can help/fix this problem - hopefuilly the above segments 
give an idea of the general location of the problem.

All advice would be welcome, we need to run a student class, and this 
fault is currently making it impossible - students have lost work etc 
bnecause they don't understand what is happening.

Thanks in advance.

Andrew

======================================================================
Dr Andrew Boswell		email : A.Boswell at uea.ac.uk	
School Liaison Consultant       phone : +44-1603-593856
IT and Computing Services 	fax   : +44-1603-593467
University of East Anglia	
Norwich, NR4 7TJ, UK







More information about the samba mailing list