I have a small business client with a new samba file server. It's CentOS 4.2 and Samba samba-3.0.10-1.4E.2. When they save open Excel files from Windows, they are prompted to overwrite the existing file. I mean, when they click the little disk icon or use Ctrl-S or File--Save. Excel would normally just write over the file, not check with an "are you sure?" prompt. But that's what they get. So I looked into this a little, and although I can't find anyone with this specific issue, I do see that newer versions of Excel create a bit of file-locking trouble for samba. Now, I don't know enough to know whether my problem has anything to do with file-locking, but it seems likely enough. So I have two questions: 1) I find very conflicting opinions on this list, and across the net, about whether to leave oplocks and level2 oplocks on. I have never had to touch them in the past, but most of the places where I've used samba have old versions of Excel and/or OOo. If this place does not use much MS-Access, can I turn off oplocks? Might I expect doing so to help with this prompt-to-overwrite problem? 2) More generally, has anyone else seen this problem before and been able to do anything about it? Thanks, Matt
Matt Morgan wrote:> 2) More generally, has anyone else seen this problem before and been > able to do anything about it?I saw it, upgraded samba. -- Rex
On 1/25/06, Matt Morgan <minxmertzmomo@gmail.com> wrote:> When they save open Excel files from Windows, they are prompted to > overwrite the existing file. I mean, when they click the little disk > icon or use Ctrl-S or File--Save. Excel would normally just write over > the file, not check with an "are you sure?" prompt. But that's what > they get.This bug was fixed in Samba 3.0.11, IIRC. If you don't want to upgrade Samba, you should be able to get rid of the message by setting your Excel workbooks for sharing. (Under Excel's Tools menu, choose Share Workbook.) Microsoft's knowledgebase also describes the issue at http://support.microsoft.com/default.aspx/kb/324491/en-us?; I remember trying the fix they suggest there, but I can't remember if it worked or not. Regarding your oplocks question, we've left them on for everything but Outlook .pst files (which sometimes had locking errors with oplocks enabled) and have had no problems that I'm aware of, but others are probably more qualified to speak on this. Josh Kelley
Hi i use samba server with winxp box on our lan from 3 years and before i can "upload" the xp drivers from a xp machine to samba server without any problem's but recently after un hard disk crash, i upgrade my mandriva server to the last release mdv (2006.0) and now i wasn t able to upload the drivers again, directly from the server if i do, loged in root the cmd addsmb -a -v evry thing go fine, from xp clients i can see the new name of the drivers but in the samba share of drivers there is no file in the x86 directory .. so i don t hunderstant and find why the upload can t work any way these the error message of xp client (sorry i m french and so i put the message in french and try to translate it the better i can): french : "Assistant ajout de pilote d'imprimante : Impossible d'installer le pilote HP OfficeJet R80, windows 2000 ou XP,Intel. Impossible de terminer cette op?ration" English : "Assistant addition of pilot of printer: Impossible to install the pilot HP OfficeJet R80, Windows 2000 or XP, INTEL. Impossible to finish this operation" Perhaps if you autoriz me i can put snapshot in another mail to explain wath i do : from the xp client i logon to the samba pdc with the root account, i browse our networ, server, printer i do a right clic and choise "propriety of server" i go to the driver tab and clic the add buton after i make the correct choise of printer model, os and so on and finaly have the error message I try to have a simultany look of samba, cups and syslog message but nothing else bad juste when i open the printer wizard share a error in sylog who say : Jan 27 18:07:30 alpha smbd[4797]: supervision (192.168.0.10) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} i know this is the printer in windows registry but i don 't understand realy the problem my var/cache/samba/printers seems to be ok and on window i haven t another printers than printer server (one hp an one pdf). thank --------------------------------------------------------------------- Aucune touche n'a ?t? bless?e au cours de la r?daction de ce message ---------------------------------------------------------------------