Re: [Samba] SMB slow by design?
From: Jeremy Allison [EMAIL PROTECTED] Date: Thu, 1 Feb 2007 09:56:25 -0800 On Thu, Feb 01, 2007 at 11:47:59AM -0600, James A. Dinkel wrote: I don't know why, but I just tried this, removind the SNDBUF AND RCVBUF, and the file share does seem snappier. I had never messed with these options, I just found several places that said setting these to 8192 gave a performance increase, so I had always used them. Not any more. The trouble with the Internet is that really old advice never dies :-). I just looked in my own config files and found: socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY SO_KEEPALIVE I removed SO_RCVBUF and SO_SNDBUF. Of course, I have no idea why any of these were defined in the first place. Should any of the others be removed as well? Chris -- Chris Garrigues Trinsic Solutions President 710-B West 14th Street Austin, TX 78701-1755 512-322-0180http://www.trinsics.com Would you rather proactively pay for uptime or reactively pay for downtime? Trinsic Solutions Your Proactive IT Management Partner pgpaPKHj5fIEM.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [opensuse] Open-source leader leaving Novell for Google
From: Jeremy Allison [EMAIL PROTECTED] Date: Sun, 24 Dec 2006 22:02:32 -0800 It's true I'm leaving Novell, but why do you think this means I'm not going to be on any Samba lists ? I'm joining Google on 2nd Jan, and believe me when I tell you they're *very* interested in me spending all my time on Samba :-) :-). I must admit to being intrigued as to why they're *very* interested in your working on Samba fulltime. Is it just to poke at the folks in Redmond or is there more to it than that? Chris -- Chris Garrigues Trinsic Solutions President 710-B West 14th Street Austin, TX 78701-1755 512-322-0180http://www.trinsics.com Would you rather proactively pay for uptime or reactively pay for downtime? Trinsic Solutions Your Proactive IT Management Partner pgp6DrKDC0Ol2.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [opensuse] Open-source leader leaving Novell for Google
From: Jeremy Allison [EMAIL PROTECTED] Date: Tue, 26 Dec 2006 12:42:03 -0800 On Tue, Dec 26, 2006 at 12:54:52PM -0600, Chris Garrigues wrote: I must admit to being intrigued as to why they're *very* interested in your working on Samba fulltime. Is it just to poke at the folks in Redmond or is there more to it than that? Not everything is about Microsoft :-). No, as far as I can tell they (and I) have no interest in poking Redmond, they're just very interested in Samba. What I really meant is Why are they very interested in Samba? I'm having a hard time imagining the Samba-based offering that Google might have in mind, but the idea is intriguing enough that I can't stop thinking about it. Chris -- Chris Garrigues Trinsic Solutions President 710-B West 14th Street Austin, TX 78701-1755 512-322-0180http://www.trinsics.com Would you rather proactively pay for uptime or reactively pay for downtime? Trinsic Solutions Your Proactive IT Management Partner pgpGf56a0nmQP.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Migrating an existing NT domain to samba
What is the best path to follow to migrate an existing NT domain to a Samba server. I've got several other Samba domains elsewhere, but none of them started as NT domains so I didn't have to do a migration. The existing network has several servers, all of which I intend to retire from fileservice once this migration is finished. At the moment I have my samba server on the network in a bogus domain and of course there's no useful communication. The samba server is set up to use LDAP and is running 3.0.13 under Mandriva. Chris -- Chris Garrigues Trinsic Solutions President 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180http://www.trinsics.com Would you rather proactively pay for uptime or reactively pay for downtime? Trinsic Solutions Your Proactive IT Management Partner pgphoMaqmyrd9.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] badly mangled names from certain old apps
I just took on a new client who is having a curious problem with mangled names. Here's the history as I understand it: Originally they were on an NT server and there was no issue. My predecessor moved them to a samba server running on gentwo. I do not know what version of samba or how he moved the data, but when he did so, any files and folders with more than 8 characters started appearing mangled from two and only two apps. Those two apps are qbtimer (Quickbooks) and RAM Structural System. I have moved them to a new server running 3.0.13 under Mandriva. The file names still appear mangled. Examples of how they are mangled: Engineering - EHTEC6~Q MSWord Templates- MLLW2U~K The apps are running under XP and my user swears they didn't have a problem under the old NT server. My assumption is that these two apps are using an old broken API, but if it really worked fine to an NT server, then there must be something better we can do...if we just get more standard looking 8.3 mangling, that would help. Any ideas? Chris -- Chris Garrigues Trinsic Solutions President 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180http://www.trinsics.com Would you rather proactively pay for uptime or reactively pay for downtime? Trinsic Solutions Your Proactive IT Management Partner pgpsETxKCBQVe.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] badly mangled names from certain old apps
I just took on a new client who is having a curious problem with mangled names. Here's the history as I understand it: Originally they were on an NT server and there was no issue. My predecessor moved them to a samba server running on gentwo. I do not know what version of samba or how he moved the data, but when he did so, any files and folders with more than 8 characters started appearing mangled from two and only two apps. Those two apps are qbtimer (Quickbooks) and RAM Structural System. I have moved them to a new server running 3.0.13 under Mandriva. The file names still appear mangled. Examples of how they are mangled: Engineering - EHTEC6~Q MSWord Templates- MLLW2U~K The apps are running under XP and my user swears they didn't have a problem under the old NT server. My assumption is that these two apps are using an old broken API, but if it really worked fine to an NT server, then there must be something better we can do...if we just get more standard looking 8.3 mangling, that would help. Any ideas? Chris -- Chris Garrigues Trinsic Solutions President 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180http://www.trinsics.com Would you rather proactively pay for uptime or reactively pay for downtime? Trinsic Solutions Your Proactive IT Management Partner pgp1Pp0VZZzHJ.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba domain an many sites
From: spiv007 [EMAIL PROTECTED] Date: Mon, 6 Jun 2005 17:34:28 -0400 Im going to install a samba domain at 4 of my sites but I trying to take of the best way to do this. going to have siteA, siteBm, siteC, and siteD. There will be an ipsec between all sites. In the past if i had to do a setup like that would to a box at each site and from there I would make rsync the samba passwd file to all the sites to keep logins in sync. Is there a better ways to to this? Keep in mind if make a central db lets say at siteA, I dont want to down if siteA loses its internet connection. I would want to be able it function fine if I move internet at any of those locations. Set up a master LDAP server at one site and slave LDAP servers at the others and use slurpd to distribute the data, then just point the samba server to the local ldap server. The only tricky part I can think of is that you'll have to make sure all four sites use the same SID. Chris -- Chris Garrigues Trinsic Solutions President 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180http://www.trinsics.com Would you rather proactively pay for uptime or reactively pay for downtime? Trinsic Solutions Your Proactive IT Management Partner pgp1140rTh6qc.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] multiple users from the same machine?
I'm concerned about the machine known as accountingii in the below smbstatus: Samba version 3.0.5pre2-SVN-build-1326 PID Username Group Machine --- 2727 bbeerman users bbeerman1(10.2.240.172) 30957 llawrence users df2x1121 (10.2.240.190) 28942 btalbot users dc2x1121 (10.2.240.174) 7750 btalbot users accountingii (10.2.240.147) 30607 mmerriam users marklaptop2 (10.2.240.185) 10434 btalbot users accounting3 (10.2.240.131) 7750 kpottsusers accountingii (10.2.240.147) 31273 bjamesusers product1 (10.2.240.173) 7750 btalbot users accountingii (10.2.240.147) 31394 mlugo users border01 (10.2.240.188) 1566 btalbot users accountingiii (10.2.240.134) Service pid machine Connected at --- pfw-import2727 bbeerman1 Thu Sep 9 09:52:03 2004 accounting1566 accountingiii Thu Sep 9 09:00:41 2004 accounting2727 bbeerman1 Thu Sep 9 09:52:03 2004 IPC$ 10434 accounting3 Tue Sep 7 08:04:04 2004 IPC$ 7750 accountingii Fri Sep 3 16:41:57 2004 local-soft2727 bbeerman1 Thu Sep 9 09:52:03 2004 accounting 30957 df2x1121 Thu Sep 9 06:35:26 2004 IPC$ 30607 marklaptop2 Thu Sep 9 06:12:19 2004 kpotts7750 accountingii Thu Sep 9 09:45:41 2004 accounting7750 accountingii Thu Sep 9 09:45:54 2004 software 2727 bbeerman1 Thu Sep 9 09:52:03 2004 IPC$ 28942 dc2x1121 Tue Aug 17 10:43:43 2004 bbeerman 2727 bbeerman1 Thu Sep 9 09:51:17 2004 mmerriam 30607 marklaptop2 Thu Sep 9 06:11:44 2004 groups2727 bbeerman1 Thu Sep 9 09:52:03 2004 software 1566 accountingiii Thu Sep 9 09:00:41 2004 mlugo31394 border01 Thu Sep 9 07:02:53 2004 btalbot 1566 accountingiii Thu Sep 9 09:00:32 2004 IPC$ 7750 accountingii Thu Sep 9 08:40:18 2004 HumanResou7750 accountingii Thu Sep 9 09:45:40 2004 IPC$ 1566 accountingiii Thu Sep 9 09:01:03 2004 accounting 31394 border01 Thu Sep 9 07:03:04 2004 bjames 31273 product1 Thu Sep 9 06:52:07 2004 llawrence30957 df2x1121 Thu Sep 9 06:35:07 2004 Locked files: PidDenyMode Access R/WOplock Name -- 1566 DENY_WRITE 0x2019f RDWR NONE /export/accounting/GLedger/Border/BETBINV.XLS Thu Sep 9 10:20:48 2004 31273 DENY_NONE 0x2019f RDWR EXCLUSIVE+BATCH /home/bjames/My Documents/Product/Price Protection/VPD price protection (master list) 04.xls Thu Sep 9 10:16:59 2004 1566 DENY_NONE 0x2019f RDWR NONE /export/accounting/GLedger/Alaska/COGS/COGS0804.xls Thu Sep 9 10:20:29 2004 31273 DENY_NONE 0x2019f RDWR EXCLUSIVE+BATCH /home/bjames/My Documents/Product/Game Buys/September/gamebuySEP.2004.xls Thu Sep 9 07:07:41 2004 You'll note that it claims that btalbot is logged on twice and kpotts once from the same machine. ps shows that PID 7750 is owned by kpotts: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND kpotts7750 0.0 3.0 10564 3788 ?SSep03 1:33 /usr/sbin/smbd3 - What triggered us to notice this was that btalbot was having errors on one of the other machines in accessing an excel file (she wasn't specific on what happened; she thought the same problem we had before was a good enough description ~sigh~). An investigation into the event log on accountingii showed that this morning at 9:30 there was an error with the printer that claimed the user was btalbot although kpotts was logged in at the time! Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpB9qyrXdVfC.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Chris Garrigues [EMAIL PROTECTED] Date: Fri, 02 Jul 2004 13:25:23 -0500 Looks good so far. I've been running it for several hours and both Jeff and I are trying to break it. Assuming I don't crash and burn, I'll push it out to my customer site tonight and if they don't see any issues when the get back to work on Tuesday, I'll declare this fixed by Wednesday. It took me a few extra days to declare it fixed, but one of our unhappiest users just reported that he hasn't had any problems all week long! Thanks again, Jeremy! Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpKcTrM2cj2k.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Thu, 1 Jul 2004 15:54:58 -0700 Ok, I've fixed up the smbldap_search code and added a max sleep replication time of 5 seconds. I've committed to 3.0 svn if you want to try it. This should fix the issue you've reported here. Let me know if not Looks good so far. I've been running it for several hours and both Jeff and I are trying to break it. Assuming I don't crash and burn, I'll push it out to my customer site tonight and if they don't see any issues when the get back to work on Tuesday, I'll declare this fixed by Wednesday. Whenever you find yourself in Austin, you'll have to stop by and collect the beer that I owe you. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpEXmfGfG8ir.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Fri, 2 Jul 2004 11:34:17 -0700 Whenever you find yourself in Austin, you'll have to stop by and collect the beer that I owe you. I might just take you up on that. :-). That's one of the beauties of open source software. If I found a bug in commercial software, I don't think I could pay for the fix by promising to buy someone a beer at an uncertain date in the future. Besides, who wants to drink a beer with Bill Gates? Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpyX05EhYgir.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Tue, 29 Jun 2004 16:27:31 -0700 On Tue, Jun 29, 2004 at 03:43:48PM -0500, Chris Garrigues wrote: From: Jeremy Allison [EMAIL PROTECTED] Date: Mon, 28 Jun 2004 13:43:54 -0700 Can you try with : defer sharing violations = Yes but kernel oplocks = no oplocks = yes level2 oplocks = yes Also. I'm starting to think it may be an interaction between Linux kernel oplocks and deferred opens. I just had a lockup with these values. This one hung and then gave me th e error that the file couldn't be saved and was instead saved to a temporar y file. I'm still running 3.0.5pre2-SVN-build-1287. smbstatus is showing two locks on the temporary file: Ok, while I'm looking at the code, here's something that Andreas Haumer sent me about a related problem. But we did another test and we now know it has something to do with the version of MS Office: the error only occurs with (old) Excel from Office97, it does not occur with Excel from Office2003! I can't explain what is going on here, but maybe that's a hint for others having the same problem I was wondering what Excel version you're using ? I'm using Excel 2000, but we've also seen it with Excel 2003. Sorry. (I'm still trying to get a new debug log for you.) Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpy8AWzd4Y0n.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Mon, 28 Jun 2004 13:43:54 -0700 Can you try with : defer sharing violations = Yes but kernel oplocks = no oplocks = yes level2 oplocks = yes Also. I'm starting to think it may be an interaction between Linux kernel oplocks and deferred opens. I just had a lockup with these values. This one hung and then gave me the error that the file couldn't be saved and was instead saved to a temporary file. I'm still running 3.0.5pre2-SVN-build-1287. smbstatus is showing two locks on the temporary file: Locked files: PidDenyMode Access R/WOplock Name -- 24074 DENY_NONE 0x30089 RDONLY NONE /net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls Tue Jun 29 14:56:36 2004 24074 DENY_NONE 0x60080 RDONLY NONE /net/jupiter.trinsics.com/export/home/cwg/DAD28750 Tue Jun 29 14:56:36 2004 24074 DENY_ALL 0x7019f RDWR NONE /net/jupiter.trinsics.com/export/home/cwg/DAD28750 Tue Jun 29 14:56:36 2004 Logging was not at level 10, so this is what I got (the hang was between 14:56:36 and 14:57:54), so I think there's nothing useful in here. [2004/06/29 14:56:36, 1] smbd/service.c:make_connection_snum(648) callisto (10.1.1.186) connect to service cwg initially as user cwg (uid=200, gid=203) (pid 24074) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2004/06/29 14:57:54, 1] smbd/service.c:make_connection_snum(648) callisto (10.1.1.186) connect to service cwg initially as user cwg (uid=200, gid=203) (pid 23708) [2004/06/29 15:00:46, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) Do you want another debug level 10 report? Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpdCs8LMJY4M.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
inherit = Yes browseable = No [print$] comment = Printer Drivers path = /home/samba/print map acl inherit = Yes [software] comment = Master Software Share path = /export/software/ms read only = No create mask = 0644 force create mode = 0640 force directory mode = 0750 map acl inherit = Yes veto files = /.?*/.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/.Parent/Icon?/Desktop/DesktopFolderDB/ oplocks = Yes [lp1] comment = HP 1300 Printer path = /var/spool/samba guest ok = Yes printable = Yes The test case that I'm running is in the [homes] share. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpASax71B6su.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Fri, 25 Jun 2004 17:55:03 -0700 Ok, Chris - if you svn update you'll find I've added a new global parameter to control the action of the defer open code. It's called defer sharing violations and it's set to yes by default (to emulate Windows correctly). Can you svn update and try and reproduce your problem with this parameter set to yes. If you can, try setting it to no and seeing if the problem goes away. Thanks! I hope I can get to this in the next few days. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgprWPXPa3BBV.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Fri, 25 Jun 2004 17:55:03 -0700 Ok, Chris - if you svn update you'll find I've added a new global parameter to control the action of the defer open code. It's called defer sharing violations and it's set to yes by default (to emulate Windows correctly). Can you svn update and try and reproduce your problem with this parameter set to yes. If you can, try setting it to no and seeing if the problem goes away. I'm halfway there. It just failed with defer sharing violations = Yes. I've changed the flag to No. Since it doesn't always fail, I'll try all day to get it to fail. If it fails, I'll let you know. If it doesn't, I'll put it on my client's network this evening and let you know how well it works there. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgp92Bt5uS0CU.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Chris Garrigues [EMAIL PROTECTED] Date: Mon, 28 Jun 2004 10:01:55 -0500 I'm halfway there. It just failed with defer sharing violations = Yes. I've changed the flag to No. Since it doesn't always fail, I'll try all day to get it to fail. If it fails, I'll let you know. If it doesn't, I'll put it on my client's network this evening and let you know how well it works there. It just failed differently. Now after I tell it to go ahead and overwrite, it hangs before trying to write the file and when it finally comes back it says: 'U:\bbu projection.xls' cannot be accessed. The file may be read-only, or you may be trying to access a read-only location. Or, the server the file is stored on may not be responding. What a terribly written error message...not to mention that I can't believe they can't tell the difference between a read-only file and the server not responding. I had logging back down to 1 and this appeared in the log: [2004/06/28 11:02:37, 1] smbd/service.c:make_connection_snum(648) callisto (10.1.1.186) connect to service groups initially as user cwg (uid=200 , gid=100) (pid 731) [2004/06/28 11:02:37, 1] smbd/service.c:make_connection_snum(648) callisto (10.1.1.186) connect to service groups initially as user cwg (uid=200 , gid=100) (pid 731) [2004/06/28 11:02:37, 1] smbd/service.c:close_cnum(833) callisto (10.1.1.186) closed connection to service groups [2004/06/28 11:02:37, 1] smbd/service.c:close_cnum(833) callisto (10.1.1.186) closed connection to service groups [2004/06/28 11:04:38, 0] smbd/oplock.c:oplock_break(830) oplock_break: end of file from client oplock_break failed for file bbu projection.xls (dev = 809, inode = 1570136, file_id = 23). [2004/06/28 11:04:38, 0] smbd/oplock.c:oplock_break(923) oplock_break: client failure in break - shutting down this smbd. [2004/06/28 11:04:38, 1] smbd/service.c:close_cnum(833) callisto (10.1.1.186) closed connection to service groups [2004/06/28 11:04:38, 1] smbd/service.c:close_cnum(833) callisto (10.1.1.186) closed connection to service cwg Chris P.S. I've turned oplocks off on the customer's server. Am I correct in thinking that will mask the problem so they won't see it? -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpfnOVureQLr.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Mon, 28 Jun 2004 13:54:23 -0700 P.S. I've turned oplocks off on the customer's server. Am I correct in thinking that will mask the problem so they won't see it? Yes, it will. Are you sure you're running the SVN code. I did fix a bug recently (friday I think) that would cause a client to get a double return from a rename which might have caused that. Unless it's that, it doesn't look like a deferred open problem. My customer is running a week-old SVN, I'm running one from this morning. Sounds like I should put this morning's SVN on their machine and leave oplocks off. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpdU3iE09nJG.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 16:20:40 -0700 I can't reproduce this :-(. I sent you a large log yesterday but it was blocked by some mail server due to the size. I've just dropped the email messag on my web server at: http://www.trinsics.com/~cwg/smblogmail Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpqKsOz2ZSXu.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Chris Garrigues [EMAIL PROTECTED] Date: Fri, 25 Jun 2004 07:59:10 -0500 I sent you a large log yesterday but it was blocked by some mail server due to the size. I've just dropped the email messag on my web server at: http://www.trinsics.com/~cwg/smblogmail I just had exactly the same thing happen again. Since it was identical, I'm not going to post the log. However, this time I ran smbstatus while it was hung and noticed two locks on the temporary file: Locked files: PidDenyMode Access R/WOplock Name -- 2106 DENY_NONE 0x60080 RDONLY NONE /net/jupiter.trinsics.com/export/home/cwg/EC94B140 Fri Jun 25 09:19:33 2004 2106 DENY_ALL 0x7019f RDWR NONE /net/jupiter.trinsics.com/export/home/cwg/EC94B140 Fri Jun 25 09:19:33 2004 2106 DENY_NONE 0x30089 RDONLY NONE /net/jupiter.trinsics.com/export/home/cwg/bbu projection.xls Fri Jun 25 09:19:33 2004 In fact, I see that there are still two locks even after excel let me work again. I hope this is all useful, Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpiPXtyh2PsO.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Chris Garrigues [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 09:45:16 -0500 [2004/06/24 07:38:05, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (N o such object) These lines appear to all be searching for base=ou=group,dc=borderent,dc=com,dc=borderent,dc=com scope=2 filter=((objectClass=sambaGroupMapping)(gidNumber=99)) where group 99 is the nobody group. I'm assuming as a result that this error is a red herring. I really need some guidance here. I've got some pretty frustrated users who don't even want to tell me when they're having problems any more. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpu11R9tAzPJ.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Chris Garrigues [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 10:04:37 -0500 From: Chris Garrigues [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 09:45:16 -0500 [2004/06/24 07:38:05, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (N o such object) These lines appear to all be searching for base=ou=group,dc=borderent,dc=com,dc=borderent,dc=com scope=2 filter=((objectClass=sambaGroupMapping)(gidNumber=99)) where group 99 is the nobody group. I'm assuming as a result that this error is a red herring. I really need some guidance here. I've got some pretty frustrated users who don't even want to tell me when they're having problems any more. ~sigh~ It looks like my second message got posted to the list, but not my first (probably because I included the original user complaint as an attachment), so I'm going to restate it differently. I'm now running 3.0.5pre2-SVN-build-1202 which I built this weekend. It solved some of the issues we've been seeing, but we're still getting reports of delays while trying to open files of over a minute. The message I originally forwarded mentioned twice this morning. Here's the server log for that user with the above mentioned LDAP search failures removed since they appear to be unrelated (they happen much more often than the problem and nobody complains when they do happen): [2004/06/24 07:37:57, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2004/06/24 07:37:57, 0] lib/util_sock.c:write_socket_data(430) write_socket_data: write failure. Error = Connection reset by peer [2004/06/24 07:37:57, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer [2004/06/24 07:37:57, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer) [2004/06/24 07:38:03, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2004/06/24 07:38:03, 0] lib/util_sock.c:write_socket_data(430) write_socket_data: write failure. Error = Connection reset by peer [2004/06/24 07:38:03, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer [2004/06/24 07:38:03, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer) [2004/06/24 07:38:05, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1400) failed to decode PDU [2004/06/24 07:38:05, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605) process_request_pdu: failed to do schannel processing. [2004/06/24 07:38:14, 1] smbd/service.c:make_connection_snum(648) product1 (10.2.240.173) connect to service profiles initially as user bjames (uid=514, gid=100) (pid 30493) [2004/06/24 07:38:31, 1] smbd/service.c:close_cnum(833) product1 (10.2.240.173) closed connection to service profiles [2004/06/24 07:38:32, 1] smbd/service.c:make_connection_snum(648) product1 (10.2.240.173) connect to service netlogon initially as user bjames (uid=514, gid=100) (pid 30493) [2004/06/24 07:38:34, 1] smbd/service.c:make_connection_snum(648) product1 (10.2.240.173) connect to service bjames initially as user bjames (uid=514, gid=100) (pid 30493) [2004/06/24 07:40:00, 1] smbd/service.c:close_cnum(833) product1 (10.2.240.173) closed connection to service netlogon [2004/06/24 08:24:41, 1] smbd/service.c:make_connection_snum(648) product1 (10.2.240.173) connect to service bjames initially as user bjames (uid=514, gid=100) (pid 20578) [2004/06/24 08:50:08, 1] smbd/service.c:close_cnum(833) product1 (10.2.240.173) closed connection to service bjames [2004/06/24 09:10:46, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2004/06/24 09:10:46, 0] lib/util_sock.c:write_socket_data(430) write_socket_data: write failure. Error = Connection reset by peer [2004/06/24 09:10:46, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer [2004/06/24 09:10:46, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer) [2004/06/24 09:10:48, 1] smbd/service.c:make_connection_snum(648) product1 (10.2.240.173) connect to service bjames initially as user bjames (uid=514, gid=100) (pid 10715) [2004/06/24 09:19:45, 0] smbd/oplock.c:request_oplock_break(1055) request_oplock_break: no response received to oplock break request to pid 20578 on port 4027 for dev = 811, inode = 541045, file_id = 23 [2004/06/24 09:19:45, 0] smbd/open.c:open_mode_check(731) open_mode_check: exlusive oplock left by process 20578 after break ! For file My Documents/Product/Game Buys/July/gamebuyJULY.2004.xls, dev = 811, inode = 541045. Deleting it to continue... [2004/06/24 09:19:45
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 09:02:07 -0700 On Thu, Jun 24, 2004 at 11:00:48AM -0500, Chris Garrigues wrote: ~sigh~ Thanks, but neither the server nor the switch are showing any netw ork problems. Hell, we aren't even seeing any collisions on the server: Ok, so can you reproduce this ? Are you using latest svn code ? If you can reproduce this at will please tell me how and I'll look at it immediately. I haven't been able to reproduce it yet. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpl3b1c6X7e8.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Chris Garrigues [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 11:22:11 -0500 I haven't been able to reproduce it yet. Got it! Open an Excel file. Save it. Go to lunch. When you return, go to FileSave As... and click on Save to save it over itself. Say that you want to save the file over itself. Things go to hell. I just did this on a W2K box and my co-worker did it on an XP box. I don't know how long lunch has to be. We had Thai. (Stir fried red herring!) Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpfZ3UZ5VCSz.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: [fwd: [Fwd: Re: network response] ]
From: Jeremy Allison [EMAIL PROTECTED] Date: Thu, 24 Jun 2004 10:48:43 -0700 Ok, thanks. A couple of questions. What MS-Office version ? What Samba code version (is this current svn code) ? What is your platform ? What oplock settings do you have in your smb.conf ? I'm running Excel 2K on Win2k. Samba was built this base weekend from SVN (3.0.5pre2-SVN-build-1202). The server is mandrake Linux kernel 2.4.22-30mdk. kernel oplocks = Yes oplocks = No level2 oplocks = No Oplocks settings have been changed repeatedly as we've tried to figure things out. I intend to turn them back on again. (What is your favourite color, what is the flight speed of a fully laden sparrow... :-) ? Blueno red. African or European? Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpTamrUQ56Cx.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] slow setup time
I'm seeing some very slow setup times. Here's what I did. I started ethereal while things were running fine and then I waited until my windows box didn't show up in findsmb (I have keepalive set to yes, so I don't see why it times out at all). I then went into My computer which was very slow. When I look in ethereal, I see some interesting nubmers in the SMB Service Resonse Time statistics: 43 Echo1 1206.4981206.4981206.498 115 Session Setup AndX 10 0.0 1265.183127.83241 I'm running 3.0.5pre1 with LDAP. Any ideas what might be taking so long? Here's the global section of my smb.conf: [global] workgroup = TRINSICS encrypt passwords = Yes smb passwd file = /etc/samba/smbpasswd log file = /var/log/samba3/%m.log log level = 1 max log size = 2500 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELA Y SO_KEEPALIVE keepalive = yes min protocol = NT1 interfaces = eth0 127.0.0.1 bind interfaces only = yes domain logons = Yes local master = Yes security = user encrypt passwords = Yes logon script = login.bat logon path = \\%L\profiles\%U logon drive = U: logon home = \\%L\%U add user script = /usr/sbin/useradd -d /dev/null -g users -s /bin/false -M %u os level = 127 preferred master = Yes domain master = Yes wins support = Yes printing = cups printcap name = cups kernel oplocks = Yes oplocks = No level2 oplocks = No map to guest = Bad User load printers = No min print space = 32768 delete veto files = Yes # define the DN to use when binding to the directory servers # The password for this DN is not stored in smb.conf. Rather it # must be set by using 'smbpasswd -w secretpw' to store the # passphrase in the secrets.tdb file. If the ldap admin dn values # change, this password will need to be reset. ldap admin dn = cn=wheel,o=trinsics,c=us # Define the SSL option when connecting to the directory # ('off', 'start tls', or 'on' (default)) ldap ssl = on # syntax: passdb backend = ldapsam:ldap://server-name[:port] passdb backend = ldapsam:ldap://127.0.0.1 # smbpasswd -x delete the entire dn-entry ldap delete dn = no # Trust UNIX account information in LDAP # (see the smb.conf manpage for details) # specify the base DN to use when searching the directory ldap suffix = dc=trinsics,dc=com # the machine and user suffix added to the base suffix # wrote WITHOUT quotes. NULL suffixes by default ldap user suffix = ou=people ldap group suffix = ou=group ldap machine suffix = ou=people # generally the default ldap search filter is ok # ldap filter = ((uid=%u)(objectclass=sambaSamAccount)) # When the user changes his password, update ntPassword, # lmPassword and the password fields. ldap passwd sync = Yes -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpZbu4tMudY1.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File already in use?
From: Jeremy Allison [EMAIL PROTECTED] Date: Thu, 27 May 2004 10:47:25 -0700 Ok, this behaviour is familiar. I think this may be the 1 second deferred open behaviour. I know how to fix this, just haven't coded this up yet as it's tricky. If I do code up a fix would you be willing to try a test version of Samba 3.0.x ? I would. I get calls about this from users several times per day! Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpTtgxFU0Jba.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] File already in use?
Hi, I'm running 3.0.4 and have had several reports from users both using Office and Lotus where the application tells them that the file is already in use when we know it isn't. (BTW, there's a typo on the man page under lock spin count. acquired, not aquired.) Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgp0Yu4J1SVT3.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File already in use?
From: Andreas Haumer [EMAIL PROTECTED] Date: Wed, 26 May 2004 16:12:19 +0200 Hi! Chris Garrigues wrote: Hi, I'm running 3.0.4 and have had several reports from users both using Office and Lotus where the application tells them that the file is already in use when we know it isn't. We seem to have similar problems! (see my mail with subject Share violation on file error from yesterday) So far I've got no reply from the list. I tried to play a little bit with oplock configurations (disable oplocks for some file pattern, completely disable oplocks for the shares) but it doesn't seem to help... :-( I don't know what's going on. Currently I suspect the virus scanners doing some strange things, but I have no prove for this theory. I don't have the virus scanning enabled. My understanding is that oplocks doesn't actually have anything to do with locking and has much more to do with caching. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgpHXhjUZQlIG.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File already in use?
From: Rashkae [EMAIL PROTECTED] Date: Wed, 26 May 2004 11:02:35 -0400 I would start with smbstatus to see what workstation/user has the file open. None. -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgp4mfaNSVzUC.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File already in use?
From: Andreas Haumer [EMAIL PROTECTED] Date: Wed, 26 May 2004 17:16:26 +0200 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Rashkae wrote: I would start with smbstatus to see what workstation/user has the file open. So far I was not able to see a file locked by someone else than the workstation/user who was reporting the problem (if any). When I get the problem report, it's usually too late: the user is already able to open the file again. Most of the time when I check the system then, smbstatus does not report this file as locked, and I find these Share violation on file error in the logs. I once had smbstatus reporting the same file a user was reporting as not beeing able to open, and smbstatus told me the _same_ user on the _same_ workstation had the file locked. The user told me he had _not_ opened the file the whole day! Go figure... I just had almost this happen. This time it was a quickbooks user. She got an error message that her connection to the server had been lost (I didn't see this myself). When I looked at smbstatus I saw that she still had locks: Locked files: PidDenyMode Access R/WOplock Name -- 4191 DENY_NONE 0x2019f RDWR NONE /export/pointmeridian/Accounting/Quickbooks/Point Meridian.QBI Wed May 26 10:10:03 2004 4191 DENY_NONE 0x2019f RDWR NONE /export/pointmeridian/Accounting/Quickbooks/Point Meridian.QBW Wed May 26 10:10:02 2004 When she re-entered quickbooks it gave the usual error that the file was already in use. I restarted samba and it let her in. Chris -- Chris Garrigues http://www.DeepEddy.Com/~cwg/ Trinsic Solutions http://www.trinsics.com 1611-B West 6th Street Austin, TX 78703-5074 512-322-0180 If you don't apply what you've learned, you haven't learned anything. pgp6bLhgfbiL3.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba