[Samba] NE00: printer files left behind on Samba shares

Tim Allen timallen at ls83.fsnet.co.uk
Fri Jul 12 09:59:34 GMT 2002


Hi

We've noticed that we get zero length files left behind on Samba shares
after printing to a Samba printer, of the form NExx: (appears as NExx~yy)
from Windows due to name mangling. This only occurs in specific
circumstances:

Client running NT4 (SP6a) and
Printing file on a Samba share and
Printing to a Samba printer and
Running particular applications (e.g. Word and Acrobat, but not Excel).

Thus if the client is W2K or file is on an NT4 server or printer is on an
NT4 server there's no problem.

We're running 2.2.5. SMB.CONF below. It happens on all the Samba shares. Any
suggestions much appreciated.

Thanks

Tim Allen

# Samba config file created using SWAT
# from vectrave.dcallen.co.uk (192.168.1.3)
# Date: 2002/07/12 16:27:42

# Global parameters
[global]
 workgroup = DCAE
 netbios name = GOLUX
 server string = Samba Server
 encrypt passwords = Yes
 username map = /usr/local/samba/lib/smbusers
 log level = 2
 log file = /var/log/samba/log.%m
 max log size = 500
 large readwrite = Yes
 time server = Yes
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8760 SO_RCVBUF=8760
 local master = No
 dns proxy = No
 printer admin = @ntadmin
 hosts allow = 192.168.1. 127.
 printing = lprng
 oplocks = No

[print$]
 path = /usr/local/samba/printers
 write list = @ntadmin,root
 guest ok = Yes

[hp_lj3p]
 path = /shared/printers/spool
 printable = Yes
 print command = lpr -Fb -r -P %p %s
 printer name = lp

[faxlp]
 path = /shared/printers/spool
 printable = Yes
 print command = lpr -r -P %p %s
 printer name = faxlp

[Data]
 comment = Development data
 path = /shared/Data
 read only = No
 inherit permissions = Yes

[Colleague]
 comment = Colleague Development
 path = "/shared/Data/Danby Medical/Colleague"
 read only = No
 inherit permissions = Yes

[Admin]
 comment = Share for Admin group
 path = /shared/Admin
 read only = No
 inherit permissions = Yes

[Apps]
 comment = Applications
 path = /shared/Apps
 read only = No
 create mask = 0644

[homes]
 comment = Home Directory
 path = /home/%S/pchome
 read only = No
 create mask = 0700
 directory mask = 0700
 browseable = No

[Common]
 comment = Common directory for file sharing
 path = /shared/Common
 read only = No
 create mask = 0777
 directory mask = 0777

[DCAE_Admin]
 comment = Share for DCAE_Admin
 path = /shared/Admin/DCAE_Admin
 read only = No
 inherit permissions = Yes

[DCATS_Admin]
 comment = Share for DCATS_Admin
 path = /shared/Admin/DCATS_Admin
 read only = No
 inherit permissions = Yes






More information about the samba mailing list