Re: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
we have the same problem on systems of many customers: *) on samba *and* windows server. (2000/2003) *) only in office verions 2003 (*not* 2000) seems to be an office problem? Jeremy Allison schrieb: On Wed, Apr 13, 2005 at 06:26:19PM +0100, Bruno Guerreiro wrote: Hi there, I'm having exactly the same problem. If using samba-3.0.13 without ACL's, everything goes perfect. ACL's on causes the file to get marked read only. Applied the Patch for MS Excel... No results. Any ideas? If you need any info, please ask. What version of office ? I keep trying to reproduce this and haven't suceeded yet (Office 2003). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
On Wed, Apr 13, 2005 at 06:26:19PM +0100, Bruno Guerreiro wrote: > Hi there, > I'm having exactly the same problem. > If using samba-3.0.13 without ACL's, everything goes perfect. > ACL's on causes the file to get marked read only. > Applied the Patch for MS Excel... No results. > > Any ideas? > If you need any info, please ask. What version of office ? I keep trying to reproduce this and haven't suceeded yet (Office 2003). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
Jeremy Allison wrote: On Tue, Apr 12, 2005 at 11:58:40AM -0400, Nathan Vidican wrote: Since applying the two patches you emailed me (one for cpu load, one for MS Excel issues): All is working fine now except MS Word; don't know if it's entirely related or a separate issue all together, but figured I'd post the details and see if you can think of anything; here's the behaior: Word (apparently) creates a "~384somerandomnamefile.tmp" when a user saves, the actual file they opened goes to 0 bytes, their smbd process goes to 100% CPU load, MS Word locks up. We forcefully kill their smbd process, rename the ~whatever.tmp file to their original whatever.doc file, restart their PC (else word acts up stupid), and we're good to go... Until the next time it happens. Apparently random files, and varyinf users/network segments as before. Excel, powerpoint, etc not locking up nor causing similar issues at all anyore - just MS Word. I think it might have something to do with the autosave feature, or some sort of option in word making it create/deal with the tmp files but I really don't understand or know the bahavior well enough to fix it entirely on my own. Help? Can you get me a debug level 10 log on this ? I'm currently working on ACL behaviour with MS-Office. Jeremy. You might want to take a look at these two Microsoft Knowledge Base articles: "Long delay in the display of file names from the "Open" dialog box in Office XP" http://support.microsoft.com/kb/818792 "The File Open dialog box does not automatically select the first available document in an Office 2003 program" http://support.microsoft.com/kb/832889 I don't know exactly what your problem is, but the above articles may keep you from chasing the wrong horse. :-) ~Jonathan Johnson Sutinen Consulting, Inc. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
Hi there, I'm having exactly the same problem. If using samba-3.0.13 without ACL's, everything goes perfect. ACL's on causes the file to get marked read only. Applied the Patch for MS Excel... No results. Any ideas? If you need any info, please ask. Best Regards, Bruno Guerreiro -Original Message- From: Nathan Vidican [mailto:[EMAIL PROTECTED] Sent: terça-feira, 12 de Abril de 2005 16:59 To: 'Jeremy Allison' Cc: samba@lists.samba.org Subject: RE: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?) Since applying the two patches you emailed me (one for cpu load, one for MS Excel issues): All is working fine now except MS Word; don't know if it's entirely related or a separate issue all together, but figured I'd post the details and see if you can think of anything; here's the behaior: Word (apparently) creates a "~384somerandomnamefile.tmp" when a user saves, the actual file they opened goes to 0 bytes, their smbd process goes to 100% CPU load, MS Word locks up. We forcefully kill their smbd process, rename the ~whatever.tmp file to their original whatever.doc file, restart their PC (else word acts up stupid), and we're good to go... Until the next time it happens. Apparently random files, and varyinf users/network segments as before. Excel, powerpoint, etc not locking up nor causing similar issues at all anyore - just MS Word. I think it might have something to do with the autosave feature, or some sort of option in word making it create/deal with the tmp files but I really don't understand or know the bahavior well enough to fix it entirely on my own. Help? -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ -Original Message- From: Jeremy Allison [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 4:05 PM To: Nathan Vidican Cc: 'Jeremy Allison' Subject: Re: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?) On Mon, Apr 04, 2005 at 04:02:39PM -0400, Nathan Vidican wrote: > I'd love to, but can't seem to get the patch to work ... I tried: > > # cd /usr/compile/samba-3.0.13/source > # patch > > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -- > |+++ smbd/dir.c 2005-04-01 11:55:34.0 -0800 > -- > Patching file smbd/dir.c using Plan A... > Hunk #1 failed at 573. > Hunk #2 failed at 582. > Hunk #3 failed at 601. > 3 out of 3 hunks failed--saving rejects to smbd/dir.c.rej Hmm... > Ignoring the trailing garbage. done > > > Am I missing something, or does it have to be done manually? Ok, I'm attaching the patch file instead. Better than cut-n-paste into the mail message :-). It's the last change : - while (SearchDir(dptr->dir_hnd, name, poffset) == True) { + if (SearchDir(dptr->dir_hnd, name, poffset)) { That is the really important one anyway - if this fails try patching that line by hand. Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
On Tue, Apr 12, 2005 at 11:58:40AM -0400, Nathan Vidican wrote: > Since applying the two patches you emailed me (one for cpu load, one for MS > Excel issues): > > All is working fine now except MS Word; don't know if it's entirely related > or a separate issue all together, but figured I'd post the details and see > if you can think of anything; here's the behaior: > > Word (apparently) creates a "~384somerandomnamefile.tmp" when a user saves, > the actual file they opened goes to 0 bytes, their smbd process goes to 100% > CPU load, MS Word locks up. We forcefully kill their smbd process, rename > the ~whatever.tmp file to their original whatever.doc file, restart their PC > (else word acts up stupid), and we're good to go... Until the next time it > happens. > > Apparently random files, and varyinf users/network segments as before. > Excel, powerpoint, etc not locking up nor causing similar issues at all > anyore - just MS Word. I think it might have something to do with the > autosave feature, or some sort of option in word making it create/deal with > the tmp files but I really don't understand or know the bahavior well enough > to fix it entirely on my own. Help? Can you get me a debug level 10 log on this ? I'm currently working on ACL behaviour with MS-Office. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
Since applying the two patches you emailed me (one for cpu load, one for MS Excel issues): All is working fine now except MS Word; don't know if it's entirely related or a separate issue all together, but figured I'd post the details and see if you can think of anything; here's the behaior: Word (apparently) creates a "~384somerandomnamefile.tmp" when a user saves, the actual file they opened goes to 0 bytes, their smbd process goes to 100% CPU load, MS Word locks up. We forcefully kill their smbd process, rename the ~whatever.tmp file to their original whatever.doc file, restart their PC (else word acts up stupid), and we're good to go... Until the next time it happens. Apparently random files, and varyinf users/network segments as before. Excel, powerpoint, etc not locking up nor causing similar issues at all anyore - just MS Word. I think it might have something to do with the autosave feature, or some sort of option in word making it create/deal with the tmp files but I really don't understand or know the bahavior well enough to fix it entirely on my own. Help? -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ -Original Message- From: Jeremy Allison [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 4:05 PM To: Nathan Vidican Cc: 'Jeremy Allison' Subject: Re: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?) On Mon, Apr 04, 2005 at 04:02:39PM -0400, Nathan Vidican wrote: > I'd love to, but can't seem to get the patch to work ... I tried: > > # cd /usr/compile/samba-3.0.13/source > # patch > > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -- > |+++ smbd/dir.c 2005-04-01 11:55:34.0 -0800 > -- > Patching file smbd/dir.c using Plan A... > Hunk #1 failed at 573. > Hunk #2 failed at 582. > Hunk #3 failed at 601. > 3 out of 3 hunks failed--saving rejects to smbd/dir.c.rej Hmm... > Ignoring the trailing garbage. done > > > Am I missing something, or does it have to be done manually? Ok, I'm attaching the patch file instead. Better than cut-n-paste into the mail message :-). It's the last change : - while (SearchDir(dptr->dir_hnd, name, poffset) == True) { + if (SearchDir(dptr->dir_hnd, name, poffset)) { That is the really important one anyway - if this fails try patching that line by hand. Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
On Wed, Mar 30, 2005 at 02:30:36PM -0500, Nathan Vidican wrote: > Still experiencing two issues here; we get smbd processes that seem hung-out > and climb to 99% CPU utilization... While there, the end-user's PC seems to > spawn a new smbd process and cannot access the MS Office file (sometimes > excel, sometimes word - even powerpoint this morning), stating it's locked > for read only access. We manually do a kill, then a forced kill of the smbd > process in question, and the office app actually then immediately crashes > loosing any other documents open. So the second issue, is the locking up of > end users' files. Can you try this patch against 3.0.13 please ? It may be the problem you're seeing. Jeremy. --- /home/jeremy/tmp/samba-3.0.13/source/smbd/dir.c 2005-03-23 12:30:27.0 -0800 +++ smbd/dir.c 2005-04-01 11:55:34.0 -0800 @@ -573,8 +573,6 @@ } } - dptr->has_wild = True; - /* In case sensitive mode we don't search - we know if it doesn't exist with a stat we will fail. */ @@ -584,6 +582,7 @@ dptr->dir_hnd->offset = *poffset = -1; return NULL; } else { + dptr->has_wild = True; return dptr_normal_ReadDirName(dptr, poffset, pst); } } @@ -602,7 +601,7 @@ return False; } - while (SearchDir(dptr->dir_hnd, name, poffset) == True) { + if (SearchDir(dptr->dir_hnd, name, poffset)) { if (is_visible_file(dptr->conn, dptr->path, name, pst, True)) { return True; } -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
Still experiencing two issues here; we get smbd processes that seem hung-out and climb to 99% CPU utilization... While there, the end-user's PC seems to spawn a new smbd process and cannot access the MS Office file (sometimes excel, sometimes word - even powerpoint this morning), stating it's locked for read only access. We manually do a kill, then a forced kill of the smbd process in question, and the office app actually then immediately crashes loosing any other documents open. So the second issue, is the locking up of end users' files. I increased the log level for users to 2, and am attaching a snippet of a users logfile; from what I can tell it appears to continually open the same file back and forth, when in fact the end user (this case me doing test) has only once opened the file, and not saved nor closed the file. Please see copy/paste below for logfile. >From what I can tell it's almost as though the workstation is continually losing connection or something, but seems to be happening in two completely different shares, network segments, subnets, servers, and users - no real pattern and it's not specific to any one thing except samba that we can isolate. The network is a fully switched 100mbit network with gigabit ethernet on the main switch including gigabit interfaces from the servers. All end users are connected via segments (usually one or two 24 port 10/100 un managed switches) which tie into the main 10/100/1000mbit switch via 100mbit fiber-optic transceivers. The user/machine log snippet attached is from a segment which has two 24 port switches attached to fiber transceiver coming back to the server room, having the other end (transceiver) attached to the gigabit switch the server in question is plugged into. This same segment has approx 40 users attached to it, and at seemingly random we have three to four with this problem from different physical areas. Also attaching the relevant portions of smb.conf from one of the servers (BDC): -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ -SMB.CONF- [global] workgroup = WMPDOM server string = WMPTL Backup Domain Controller security = user netbios name = WMPTWO hosts allow = 10.10.13. 127. load printers = yes printing = cups printcap name = cups printer admin = @"Print Operators" show add printer wizard = yes case sensitive = no preserve case = no guest account = pcguest log file = /var/log/samba/%m.log max log size = 5000 log level = 2 user : 1 passdb backend = ldapsam:ldap://127.0.0.1:389 ldap suffix = dc=wmptl,dc=net ldap machine suffix = ou=Machines ldap user suffix = ou=People ldap idmap suffix = ou=People ldap group suffix = ou=Groups ldap admin dn = "cn=root,dc=wmptl,dc=net" ldap passwd sync = yes time server = yes cups options = "raw" admin users = @"Domain Admins" @wheel Administrator add machine script = /server/bin/smbldap-tools/smbldap-useradd.pl -m "%u" ldap delete dn = yes # delete user script = /server/bin/smbldap-tools/smbldap-userdel.pl "%u" add group script = /server/bin/smbldap-tools/smbldap-groupadd.pl -p "%g" add user to group script = /server/bin/smbldap-tools/smbldap-groupmod.pl -m "%u" "%g" delete user from group script = /server/bin/smbldap-tools/smbldap-groupmod.pl -x "%u" "%g" set primary group script = /server/bin/smbldap-tools/smbldap-groupmod.pl -g "%g" "%u" socket options = TCP_NODELAY interfaces = 10.10.13.90/24 127.0.0.1/8 bind interfaces only = yes local master = no os level = 32 domain master = no preferred master = no domain logons = yes encrypt passwords = yes passwd program = /server/bin/smbldap-tools/smbldap-passwd.pl -u %u passwd chat = "Changing password for*\nNew Password*" %n\n "*Retype new password*" %n\n logon script = everyone.bat logon path = \\WMPTWO\Profiles\%U wins support = no wins server = 10.10.13.80 wins proxy = no dns proxy = no create mask = 0664 directory mask = 0775 # figured this might have helped, but makes no change enabled or not: ; level2 oplocks = no ; oplocks = no veto oplock files = /*.mdb/ dos filetimes = yes # Share Definitions == [homes] comment = Home Directories valid users = %U read only = no create mask = 0660 directory mask = 0770 browseable = no oplocks = no # all shares: include = /server/bin/samba-3.0.13/lib/shares.conf -END SMB.CONF- -LOGFILE- [2005/03/30 14:09:48, 2] smbd/open.c:open_file(245) dristovs opened file meeting agendas/management rev meetings/03-31-2005/management review - presentation.ppt read=Yes write=Yes (numopen=3) [2005/03/30 14:09:49, 2] smbd/close.c:close_normal_file(272) dristovs closed file meeting agendas/management rev meetings/03-31-2005/management review - presentation.ppt (numopen=2) [2005/03/30 14:09:49, 2] smbd/open.c:open_file(245) dristovs opened file meeting agendas/management rev meetings/03-31-2005/management review - presentation.ppt read=Yes write=No (numopen=3) [2005/03/30 14:09:49, 2] smbd/close.c:close_normal_file(272) dri