Re: [Samba] SMB2 weird behavior with samba 3.6 PDC
What I meant to say is that Thunderbird downloads every message every time it is launched when I have max protocol = smb2 enabled. Without that line it checks the headers and is done. Even if it's not efficient I don't mind it downloading and caching the message once, but having to do so on every launch takes a lot of time and a lot of bandwidth. --- But SMB2 wouldn't affect the IMAP protocol. Is your local Thunderbird dir stored on a network share? If that's the case, then it's probably the same problem that others are experience about UID's not being resolved consistently (if at all)...that would cause possible file read/write problems and it might think it needs to d/l again. The thunderbird profile is stored on the users home share. This still seems like a SMB2 problem rather than a UID/GID problem since samba 3.6 works fine and thunderbird doesn't try and download every message again as soon as max protocol = smb2 is removed from smb.conf. Wouldn't a UID problem remain regardless of what the max protocol setting was? I don't have a windows server to test against, but surely this isn't acceptable behavior from a windows server. Hopefully one of the samba team members could help debug why all common browsers are unable to download files to a samba share. --- I'ts not just browsers. I was saving a large file (maybe that's the key -- a file that takes a long time to write -- was saving a 2GB image from from photoshop -- couldn't save it AT all.. Had to pull it out of the vfs_recycle to put it in place. I think you're right about many more programs being affected than just browsers. Notepad and thunderbird both seem to have serious problems and not just with large files. I was unable to open a very small html file with notepad and couldn't save my thunderbird preferences so long as smb2 was enabled. Have you opened a bug regarding any of your issues (specifically not being able to save files and them showing up in the samba recycle bin)? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SMB2 weird behavior with samba 3.6 PDC
` Mark Reidenbach wrote: I tried enabling SMB2 on our network after upgrading to samba 3.6 and experienced the following problems. Commenting out Max Protocol = SMB2 makes the windows7 and vista clients happy. - [homes] Trying to open a html file in notepad fails on Windows7 Pro SP1. Opening it in Firefox (default browser) or Open Office works ok. - [homes] Mozilla Thunderbird insists on downloading all the IMAP headers each time it is launched on Vista Pro SP2. What is it supposed to do? My client checks for new headers and downloads them all on each launch. Of course what's really fun is when you get to TB3 or above and it copies all of your IMAP folders into your local roaming profile by default (and it isn't easy to disable unless you already know how to do it). Great design...down load all IMAP messages from local server, and then entire mail store gets sent back up to the server in logon (as profile is stored)... and must be synced on login... The Tbird people, apparently didn't (and still refuse to understand that IMAP is a remote file-system that's not designed to have all of it downloaded to each client you login to. Whereas pop, usually when you d/led it, it was off the server (though that later changed -- but it still doesn't keep status the way IMAP does, nor does it have the search functions of IMAP. You can have IMAP create a searchable DB of your email so larger searches are lightning fast...instead, they copied my entire 4.5G mail folder onto each local machine and account i used mozilla on. computer or a USB key to samba works ok, but Firefox and Chrome are unable to save files to the samba shares. They download files ok (e.g. file.part) but seem to be unable to rename the file when the download is complete. --- Yeah that was another problem I tried reporting and to get info on over a month ago, but never got a response. Part of my problem (maybe all of it), is they changed the idmap backend -- I was using static UID/GID mappins for the most part, when I went to 3.6, all of my GID's changed and my pwdb got very hosed. Still haven't recovered (most things work, but winbind refuses to return any info on my GUID, even though locally it knows what UID it maps to. But log is filled with GUID lookup errors for mine and random ones -- alot of S-0-0. The problem on the 'that'file is that apparently smb2 opens the file you want to save in, first, but doesn't close it -- then downloads to a .tmp file, and then does a rename over the first (or a copy, not sure which). Anyway server refuses to allow it -- as it thinks the first file is still open. If you have server 'recycle bin' turned on (the samba module), (and use savetree), you'll find the completed files in your recycle bin named with some p.xxx tmp name. Just rename the file from the server and copy it over the first. - [public] Installing programs from samba seems to partially work. Installing Itunes 10.4 for 64 bit windows 7 seemed to work but the Apple Software Update program was not installed (uninstalling, copying iTunes64Setup.exe to the desktop, and running the setup program worked). Odd, I've had a similar prob w/nvidia's sw-update prog -- but I wouldn't have though it to be samba related... Good luck --- I'm back at 3.10 -- and still have figured out how to repair my DB. Apparently the DB format got changed, and isn't backward compat (or something!) -- i.e. when looking up my domain, it tries to look for '*' first, which it then expecs to hve return the domain. I have no '*' entry in my tdb file. Top level entry that everything is under is the Domain name. So many types of lookups don't work. Had lots of performance problems with MSWin swamping my network connection really bad -- so that I couldn't play AV hosted on the server. Tried every downward tuning option available (my net was optimized for SMB1 -- 125MB writes/ 119-121MB/s reads over a 1Gbit net...(max speed, not average!) But I think that the new SMB2 code is much 'tighter in windows, so it executes more quickly so it is difficult for other traffic to get a chance. Unfortunately MS designed their file-serving protocol to be undifferentiable for setting QOS on...(i.e. it establishs 1 connection in the name of 'system', and all I/O to/from server goes through the 1 server. So no way for a user to prioritize I/O (can prioritize by port, but as all file i/o is done through 1 port, doesn't help, and by process, except that system does the I/o for file processes -- all glummed together. It's just peachy! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SMB2 weird behavior with samba 3.6 PDC
On Mon, Aug 15, 2011 at 5:28 PM, Linda Walsh sa...@tlinx.org wrote: ` Mark Reidenbach wrote: I tried enabling SMB2 on our network after upgrading to samba 3.6 and experienced the following problems. Commenting out Max Protocol = SMB2 makes the windows7 and vista clients happy. - [homes] Trying to open a html file in notepad fails on Windows7 Pro SP1. Opening it in Firefox (default browser) or Open Office works ok. - [homes] Mozilla Thunderbird insists on downloading all the IMAP headers each time it is launched on Vista Pro SP2. What is it supposed to do? My client checks for new headers and downloads them all on each launch. Of course what's really fun is when you get to TB3 or above and it copies all of your IMAP folders into your local roaming profile by default (and it isn't easy to disable unless you already know how to do it). Great design...down load all IMAP messages from local server, and then entire mail store gets sent back up to the server in logon (as profile is stored)... and must be synced on login... The Tbird people, apparently didn't (and still refuse to understand that IMAP is a remote file-system that's not designed to have all of it downloaded to each client you login to. Whereas pop, usually when you d/led it, it was off the server (though that later changed -- but it still doesn't keep status the way IMAP does, nor does it have the search functions of IMAP. You can have IMAP create a searchable DB of your email so larger searches are lightning fast...instead, they copied my entire 4.5G mail folder onto each local machine and account i used mozilla on. What I meant to say is that Thunderbird downloads every message every time it is launched when I have max protocol = smb2 enabled. Without that line it checks the headers and is done. Even if it's not efficient I don't mind it downloading and caching the message once, but having to do so on every launch takes a lot of time and a lot of bandwidth. computer or a USB key to samba works ok, but Firefox and Chrome are unable to save files to the samba shares. They download files ok (e.g. file.part) but seem to be unable to rename the file when the download is complete. --- Yeah that was another problem I tried reporting and to get info on over a month ago, but never got a response. Part of my problem (maybe all of it), is they changed the idmap backend -- I was using static UID/GID mappins for the most part, when I went to 3.6, all of my GID's changed and my pwdb got very hosed. Still haven't recovered (most things work, but winbind refuses to return any info on my GUID, even though locally it knows what UID it maps to. But log is filled with GUID lookup errors for mine and random ones -- alot of S-0-0. The problem on the 'that'file is that apparently smb2 opens the file you want to save in, first, but doesn't close it -- then downloads to a .tmp file, and then does a rename over the first (or a copy, not sure which). Anyway server refuses to allow it -- as it thinks the first file is still open. If you have server 'recycle bin' turned on (the samba module), (and use savetree), you'll find the completed files in your recycle bin named with some p.xxx tmp name. Just rename the file from the server and copy it over the first. I don't have a windows server to test against, but surely this isn't acceptable behavior from a windows server. Hopefully one of the samba team members could help debug why all common browsers are unable to download files to a samba share. - [public] Installing programs from samba seems to partially work. Installing Itunes 10.4 for 64 bit windows 7 seemed to work but the Apple Software Update program was not installed (uninstalling, copying iTunes64Setup.exe to the desktop, and running the setup program worked). Odd, I've had a similar prob w/nvidia's sw-update prog -- but I wouldn't have though it to be samba related... Good luck --- I'm back at 3.10 -- and still have figured out how to repair my DB. Apparently the DB format got changed, and isn't backward compat (or something!) -- i.e. when looking up my domain, it tries to look for '*' first, which it then expecs to hve return the domain. I have no '*' entry in my tdb file. Top level entry that everything is under is the Domain name. So many types of lookups don't work. Had lots of performance problems with MSWin swamping my network connection really bad -- so that I couldn't play AV hosted on the server. Tried every downward tuning option available (my net was optimized for SMB1 -- 125MB writes/ 119-121MB/s reads over a 1Gbit net...(max speed, not average!) But I think that the new SMB2 code is much 'tighter in windows, so it executes more quickly so it is difficult for other traffic to get a chance. Unfortunately MS designed their file-serving protocol to be undifferentiable for
Re: [Samba] SMB2 weird behavior with samba 3.6 PDC
` Mark Reidenbach wrote: What I meant to say is that Thunderbird downloads every message every time it is launched when I have max protocol = smb2 enabled.� Without that line it checks the headers and is done.� Even if it's not efficient I don't mind it downloading and caching the message once, but having to do so on every launch takes a lot of time and a lot of bandwidth. --- But SMB2 wouldn't affect the IMAP protocol. Is your local Thunderbird dir stored on a network share? If that's the case, then it's probably the same problem that others are experience about UID's not being resolved consistently (if at all)...that would cause possible file read/write problems and it might think it needs to d/l again. I don't have a windows server to test against, but surely this isn't acceptable behavior from a windows server.� Hopefully one of the samba team members could help debug why all common browsers are unable to download files to a samba share. --- I'ts not just browsers. I was saving a large file (maybe that's the key -- a file that takes a long time to write -- was saving a 2GB image from from photoshop -- couldn't save it AT all.. Had to pull it out of the vfs_recycle to put it in place. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] SMB2 weird behavior with samba 3.6 PDC
I tried enabling SMB2 on our network after upgrading to samba 3.6 and experienced the following problems. Commenting out Max Protocol = SMB2 makes the windows7 and vista clients happy. - [homes] Trying to open a html file in notepad fails on Windows7 Pro SP1. Opening it in Firefox (default browser) or Open Office works ok. - [homes] Mozilla Thunderbird insists on downloading all the IMAP headers each time it is launched on Vista Pro SP2. - [public] Copying files from the local computer or a USB key to samba works ok, but Firefox and Chrome are unable to save files to the samba shares. They download files ok (e.g. file.part) but seem to be unable to rename the file when the download is complete. - [public] Installing programs from samba seems to partially work. Installing Itunes 10.4 for 64 bit windows 7 seemed to work but the Apple Software Update program was not installed (uninstalling, copying iTunes64Setup.exe to the desktop, and running the setup program worked). My smb.conf is: [global] domain logons = Yes domain master = Yes preferred master = Yes workgroup = SYNERGY netbios name = SERVER server string = Office Samba Server passdb backend = tdbsam encrypt passwords = yes min protocol = NT1 max protocol = SMB2 server schannel = yes server signing = mandatory lanman auth = No ntlm auth = No lm announce = No client schannel = yes client signing = auto client ntlmv2 auth = Yes client lanman auth = No client plaintext auth = No client use spnego = No client use spnego principal = No directory name cache size = 500 name resolve order = host wins bcast add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u logon script = logon.cmd logon drive = z: logon path = logon home = \\server\%U dns proxy = No wins support = Yes time server = Yes ldap ssl = no log file = /var/log/samba/%m.log log level = 3 bind interfaces only = yes interfaces = 192.168.13.150/24 127.0.0.1 smb ports = 445 hosts allow = 127.0.0.1, 192.168.13.0/255.255.255.0, 192.168.2.0/255.255.255.0, 192.168.3.0/255.255.255.0, 192.168.100.0/255.255.255.0, 192.168.1.230 hosts deny = 0.0.0.0/0.0.0.0 # printing setup load printers = Yes printing = cups printcap = cups show add printer wizard = Yes # Some defaults to prevent access problems when upgrading (i.e 3.0.23 - 3.0.24 - 3.0.25) host msdfs = yes msdfs root = yes kernel change notify = yes use sendfile = yes # allow enumeration of winbind users and groups winbind enum users = yes winbind enum groups = yes # give winbind users a real shell (only needed if they have telnet access) template shell = /bin/bash lock directory = /var/lib/samba # Samba 3.6 changes idmap config * : backend = tdb2 idmap config * : range = 1000-2 [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes browseable = No read only = Yes [printers] comment = All Printers path = /usr/local/samba/printers read only = Yes create mask = 0777 guest ok = Yes printable = Yes browseable = Yes [print$] comment = Printer Drivers # this path holds the driver structure after cupsaddsmb command path = /usr/local/samba/windows_drivers guest ok = no browseable = yes read only = yes write list = root [public] comment = Public Files path = /home/samba/public strict allocate = yes read only = No create mask = 0777 directory mask = 0777 vfs objects = readahead [homes] comment = Home Directories path = /home/samba/homes/%S strict allocate = yes read only = No create mask = 0700 browseable = No valid users = %S -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba