[Samba] Excel "Disk Full" when overwriting file

Dimitri Yioulos dyioulos at firstbhph.com
Fri Sep 28 21:58:14 GMT 2007


On Friday 28 September 2007 5:15 pm, John Herrmann wrote:
> Help,
>
> I'm using:
>
> Operating System:
> 	SUSE Linux Enterprise Server 10 (i586)
> 	VERSION = 10
> 	PATCHLEVEL = 1
>
> Upgraded Samba to:
> Samba version 3.0.26a-SerNet-SuSE
>
> On a windows machine the user can see the directories and files.  They
> can access the files in say excel but when they go to save the changes
> it gives them a message of Disk Full.  New Files they can save, no
> problem.  If they pull up a file in notepad and then save the changes
> the message will be "The process cannot access the file because another
> process has locked a portion of the file." You hit ok, and get the save
> as dialog box.  If you don't change the name of the file and hit save,
> it saves it.  Weird.
>
> Here is a copy of the smb.conf file:
>
> # smb.conf is the main Samba configuration file. You find a full commented
> # version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
> # Date: 2004-04-06
> [global]
> 	realm = CYC.COM
> 	workgroup = CYC.COM
> 	interfaces = 127.0.0.1 eth1
> 	bind interfaces only = true
> 	printing = cups
> 	printcap name = cups
> 	load printers = yes
>
> 	printer admin = @ntadmin, root, administrator
> 	map to guest = Bad User
>
> 	# the following fixes a weird problem with winxp sp2 systems and
> 	# netbios aliases on samba. - mgb 10/20/04
> 	smb ports = 139
>
> 	netbios name = HOME
> 	netbios aliases = cyc host
> 	server string = zeus
>
> 	hosts allow = 10.1.1. 127.
> 	security = ADS
>
>
> 	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 	name resolve order = host wins lmhosts bcast
> 	wins server = 10.1.1.15 10.1.1.251
> 	remote announce = 10.1.1.15 10.1.1.251
> 	dns proxy = no
> 	preserve case = yes
> 	short preserve case = yes
> 	default case = lower
> 	case sensitive = no
> 	create mask = 0664
> 	directory mask = 0775
> 	include = /etc/samba/smb.conf.all
> 	domain logons = Yes
> 	domain master = No
> 	passdb backend = smbpasswd
> 	wins support = No
>          strict locking = No
> 	inherit acls = Yes
>          strict allocate = Yes
>          inherit permissions = Yes
> [pdf]
> 	comment = PDF creator
> 	path = /var/tmp
> 	printable = Yes
> 	print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
> 	create mask = 0600
> [printers]
> 	comment = All Printers
> 	path = /var/tmp
> 	printable = Yes
> 	create mask = 0600
> 	browseable = No
> [print$]
> 	comment = Printer Drivers
> 	path = /var/lib/samba/drivers
> 	write list = @ntadmin root
> 	force group = ntadmin
> 	create mask = 0664
> 	directory mask = 0775
>
> Any help would be greatly appreciated.
>
> Thanks,
> John Herrrmann
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

Try adding "veto oplock files = /*.xls/*.XLS" in the [global] section.

HTH.

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list