Re: [Samba] samba with nfs mount in "path" and MS Office App's
Hi > Is the samba server your PDC? No. Actually i have no domain. The samba shares are only for a few internal clients which are in the same workgroup as the Samba Server. But it looks like i've found the problem. I have now made a test with another volume on the Netapp which has "qtree" security style "mixed" (the live volume has "qtree" security style "unix"). This test volume i have mounted on the Samba Server with "nolock" option in NFS Options. It looks like this solved the problem because on this test volume the problems doesnt exists. In another test i've also tried qtree security style "ntfs" but this did not work at all...the clients did not even had access to this second test. So it seems the "qtree security" style on the Netapp NFS Export Volume was the problem; maybe in connection with the "nolock" NFS Options. I've to observe it further but for now it looks like the problem is solved. Thanks for help -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba with nfs mount in "path" and MS Office App's
Is the samba server your PDC? Maybe the trick is to use the NetApp as a windows server- if you can join it to the Samba domain. On 10/13/2011 07:38 AM, free...@gmx.ch wrote: Hi Thanks for the input so far So far i've tried following: Setting *** strict locking = yes oplocks = no *** in Smb.conf. This didnt work. Then i've tried to mount the nfs with "nolock" Option (but without above samba locking parameters). Problems still persists. I've need now to test some combinations of these settings. I've also talked to a Netapp Engineer. The NFS Mount points to a FAS3140 Cluster with Ontap 7.3.2 on it. The volume with the data which is referred in path of Samba config is a qtree. There are three different types of "qtree" security settings on Netapp Files: mixed,unix,windows. It might have something to do with the choosen security style. Netapp itself is using NFS3 (nfs4 can be turned on optionally): http://www.netapp.com/us/communities/tech-ontap/nfsv4-0408.html I've also tried some setfacl commands on the nfs mount and it said: Operation not supported... So i've got several possible reasons for the problem now: - samba config (locking parameters) - nfs mount options (locking parameters) - Right issues (acl or similiar) - qtree securtity style on Netapp I will test some things and let you knowi will start with the netapp qtree issues... Best Regards -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba with nfs mount in "path" and MS Office App's
Hi Thanks for the input so far So far i've tried following: Setting *** strict locking = yes oplocks = no *** in Smb.conf. This didnt work. Then i've tried to mount the nfs with "nolock" Option (but without above samba locking parameters). Problems still persists. I've need now to test some combinations of these settings. I've also talked to a Netapp Engineer. The NFS Mount points to a FAS3140 Cluster with Ontap 7.3.2 on it. The volume with the data which is referred in path of Samba config is a qtree. There are three different types of "qtree" security settings on Netapp Files: mixed,unix,windows. It might have something to do with the choosen security style. Netapp itself is using NFS3 (nfs4 can be turned on optionally): http://www.netapp.com/us/communities/tech-ontap/nfsv4-0408.html I've also tried some setfacl commands on the nfs mount and it said: Operation not supported... So i've got several possible reasons for the problem now: - samba config (locking parameters) - nfs mount options (locking parameters) - Right issues (acl or similiar) - qtree securtity style on Netapp I will test some things and let you knowi will start with the netapp qtree issues... Best Regards -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba with nfs mount in "path" and MS Office App's
This is a item concerning locking and msoffice-files, nfs. I bet not msoffice-files are working. Disable locking on the nfs shares and it should work. --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Robert Adkins II Gesendet: Mittwoch, 12. Oktober 2011 16:36 An: free...@gmx.ch; samba@lists.samba.org Betreff: Re: [Samba] samba with nfs mount in "path" and MS Office App's Review all of your permissions and confirm that those permissions are the same for all users having this issues on the server that is sharing the NFS share. I have a feeling that this is a share/permissions issue as much as it could be an NFS share issue. -- Regards, Robert Adkins > -Original Message- > From: samba-boun...@lists.samba.org > [mailto:samba-boun...@lists.samba.org] On Behalf Of free...@gmx.ch > Sent: Wednesday, October 12, 2011 10:30 AM > To: samba@lists.samba.org > Subject: [Samba] samba with nfs mount in "path" and MS Office App's > > Hi Listmembers > > > Problem: > Windows Clients having problems with Microsoft Office App's > (Excel, Word) when the files are on the Samba Share > "documents" (which is mapped through a Windows Drive Letter > on the client). Two clients have MS Office 2003. They can > open doc Documents but when they want to save it error > messages are appearing (message about to less space on drive, > but this is a false errormessage). Saving of documents does > not work and MS Office crashes. Sometimes Word is crashing > already when the user opens a document. Same with XLS > document. One client has MS Office 2010. He can open and save > changes in Microsoft Office Documents. But saving changes, > even small ones, are taking 30 seconds. > > Clients which are using Open Office having no problems. They > can even open and saving the MS Office document without > Problem. Also with other Applications there are no problems > (ex. opening pdf documents, txt documents with notepad etc.). > > So the problems occurs only while working with this share > "documents" and using Microsoft Office. I've got another > share on the same Samba Server named "personal". The > Microsoft Office clients have no problems on this share. The > only difference is that the "path" from "personal" share in > smb.conf is not a NFS Mount but a location on the harddisk of > the server itselve (ext3 partition). > > So the problem has something to do with using Samba shares > which have their path on NFS Mounts. > > > > > System environment: > > > Centos 5.x Server > Samba Version 3.0.33 > > > > ***Samba Config > [global] > workgroup = OfficeLAN > server string = qube2 > lanman auth = Yes > client NTLMv2 auth = Yes > time server = Yes > add machine script = /usr/sbin/useradd -d /dev/null > -g samba-clients -s /bin/false -M %u > logon script = %U.bat > logon drive = M: > logon home = \\%N\profiles\%U > logon path = > domain logons = Yes > os level = 65 > preferred master = Yes > domain master = Yes > wins server = 10.0.10.12 > wins support = Yes > ldap ssl = no > admin users = @sysadmin > printer admin = @sysadmin > cups options = raw > > > [documents] > comment = documents > path = /home/nfs_qube2/documents > force user = admin > read only = No > guest ok = Yes > > *** > > > The "documents" share is on a NFS Mount which is mounted in > /etc/fstab > 10.0.10.13:/vol/nfs_qube2/office-data /home/nfs_qube2 nfs > rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr > > > > Thanks for any advice > > > > > > > > > > -- > NEU: FreePhone - 0ct/min Handyspartarif mit > Geld-zurück-Garantie! > Jetzt informieren: http://www.gmx.net/de/go/freephone > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba with nfs mount in "path" and MS Office App's
I have Solaris 10. I used to use UFS for the file system - which is I think similar enough to ext3 for this situation. It supports the basic ugo perms as well as some ACL's.In general, a samba share on top of an autofs mount was OK. For example, the H: drive would be mapped to "/home" on server1, which in turn would include user home directories from server1 or server2. I actually ran into a lot more problems when I switched to ZFS file system which is closer to Windows 200x/XP etc. It did help identify what Office would try to do. Microsoft office likes to change the permissions on existing files. It will also sometimes delete a file and rewrite all the data to a new file (with the same name as the old file.) This means that not only does MS Office have to be able to write to the file, it has to have permissions on the parent directory to create files and set change the access control entries. Does "getfacl" and "setfacl" under linux work on the NFS directories and files? Are you mounting the nfs directory via NFS v3 or NFS v4. NFS v3 is the default. NFS v4 shd allow acl's to be maintained. Does "documents" have to be NFS or can you use a direct path? -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of free...@gmx.ch Sent: Wednesday, October 12, 2011 10:30 AM To: samba@lists.samba.org Subject: [Samba] samba with nfs mount in "path" and MS Office App's Hi Listmembers Problem: Windows Clients having problems with Microsoft Office App's (Excel, Word) when the files are on the Samba Share "documents" (which is mapped through a Windows Drive Letter on the client). Two clients have MS Office 2003. They can open doc Documents but when they want to save it error messages are appearing (message about to less space on drive, but this is a false errormessage). Saving of documents does not work and MS Office crashes. Sometimes Word is crashing already when the user opens a document. Same with XLS document. One client has MS Office 2010. He can open and save changes in Microsoft Office Documents. But saving changes, even small ones, are taking 30 seconds. Clients which are using Open Office having no problems. They can even open and saving the MS Office document without Problem. Also with other Applications there are no problems (ex. opening pdf documents, txt documents with notepad etc.). So the problems occurs only while working with this share "documents" and using Microsoft Office. I've got another share on the same Samba Server named "personal". The Microsoft Office clients have no problems on this share. The only difference is that the "path" from "personal" share in smb.conf is not a NFS Mount but a location on the harddisk of the server itselve (ext3 partition). So the problem has something to do with using Samba shares which have their path on NFS Mounts. System environment: Centos 5.x Server Samba Version 3.0.33 ***Samba Config [global] workgroup = OfficeLAN server string = qube2 lanman auth = Yes client NTLMv2 auth = Yes time server = Yes add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u logon script = %U.bat logon drive = M: logon home = \\%N\profiles\%U logon path = domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins server = 10.0.10.12 wins support = Yes ldap ssl = no admin users = @sysadmin printer admin = @sysadmin cups options = raw [documents] comment = documents path = /home/nfs_qube2/documents force user = admin read only = No guest ok = Yes *** The "documents" share is on a NFS Mount which is mounted in /etc/fstab 10.0.10.13:/vol/nfs_qube2/office-data /home/nfs_qube2 nfs rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr Thanks for any advice -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba with nfs mount in "path" and MS Office App's
I believe I remember seeing a similar thread and it was disabling oplocks in samba ? On 10/12/2011 10:30 AM, free...@gmx.ch wrote: Hi Listmembers Problem: Windows Clients having problems with Microsoft Office App's (Excel, Word) when the files are on the Samba Share "documents" (which is mapped through a Windows Drive Letter on the client). Two clients have MS Office 2003. They can open doc Documents but when they want to save it error messages are appearing (message about to less space on drive, but this is a false errormessage). Saving of documents does not work and MS Office crashes. Sometimes Word is crashing already when the user opens a document. Same with XLS document. One client has MS Office 2010. He can open and save changes in Microsoft Office Documents. But saving changes, even small ones, are taking 30 seconds. Clients which are using Open Office having no problems. They can even open and saving the MS Office document without Problem. Also with other Applications there are no problems (ex. opening pdf documents, txt documents with notepad etc.). So the problems occurs only while working with this share "documents" and using Microsoft Office. I've got another share on the same Samba Server named "personal". The Microsoft Office clients have no problems on this share. The only difference is that the "path" from "personal" share in smb.conf is not a NFS Mount but a location on the harddisk of the server itselve (ext3 partition). So the problem has something to do with using Samba shares which have their path on NFS Mounts. System environment: Centos 5.x Server Samba Version 3.0.33 ***Samba Config [global] workgroup = OfficeLAN server string = qube2 lanman auth = Yes client NTLMv2 auth = Yes time server = Yes add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u logon script = %U.bat logon drive = M: logon home = \\%N\profiles\%U logon path = domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins server = 10.0.10.12 wins support = Yes ldap ssl = no admin users = @sysadmin printer admin = @sysadmin cups options = raw [documents] comment = documents path = /home/nfs_qube2/documents force user = admin read only = No guest ok = Yes *** The "documents" share is on a NFS Mount which is mounted in /etc/fstab 10.0.10.13:/vol/nfs_qube2/office-data /home/nfs_qube2 nfs rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr Thanks for any advice -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] samba with nfs mount in "path" and MS Office App's
Review all of your permissions and confirm that those permissions are the same for all users having this issues on the server that is sharing the NFS share. I have a feeling that this is a share/permissions issue as much as it could be an NFS share issue. -- Regards, Robert Adkins > -Original Message- > From: samba-boun...@lists.samba.org > [mailto:samba-boun...@lists.samba.org] On Behalf Of free...@gmx.ch > Sent: Wednesday, October 12, 2011 10:30 AM > To: samba@lists.samba.org > Subject: [Samba] samba with nfs mount in "path" and MS Office App's > > Hi Listmembers > > > Problem: > Windows Clients having problems with Microsoft Office App's > (Excel, Word) when the files are on the Samba Share > "documents" (which is mapped through a Windows Drive Letter > on the client). Two clients have MS Office 2003. They can > open doc Documents but when they want to save it error > messages are appearing (message about to less space on drive, > but this is a false errormessage). Saving of documents does > not work and MS Office crashes. Sometimes Word is crashing > already when the user opens a document. Same with XLS > document. One client has MS Office 2010. He can open and save > changes in Microsoft Office Documents. But saving changes, > even small ones, are taking 30 seconds. > > Clients which are using Open Office having no problems. They > can even open and saving the MS Office document without > Problem. Also with other Applications there are no problems > (ex. opening pdf documents, txt documents with notepad etc.). > > So the problems occurs only while working with this share > "documents" and using Microsoft Office. I've got another > share on the same Samba Server named "personal". The > Microsoft Office clients have no problems on this share. The > only difference is that the "path" from "personal" share in > smb.conf is not a NFS Mount but a location on the harddisk of > the server itselve (ext3 partition). > > So the problem has something to do with using Samba shares > which have their path on NFS Mounts. > > > > > System environment: > > > Centos 5.x Server > Samba Version 3.0.33 > > > > ***Samba Config > [global] > workgroup = OfficeLAN > server string = qube2 > lanman auth = Yes > client NTLMv2 auth = Yes > time server = Yes > add machine script = /usr/sbin/useradd -d /dev/null > -g samba-clients -s /bin/false -M %u > logon script = %U.bat > logon drive = M: > logon home = \\%N\profiles\%U > logon path = > domain logons = Yes > os level = 65 > preferred master = Yes > domain master = Yes > wins server = 10.0.10.12 > wins support = Yes > ldap ssl = no > admin users = @sysadmin > printer admin = @sysadmin > cups options = raw > > > [documents] > comment = documents > path = /home/nfs_qube2/documents > force user = admin > read only = No > guest ok = Yes > > *** > > > The "documents" share is on a NFS Mount which is mounted in > /etc/fstab > 10.0.10.13:/vol/nfs_qube2/office-data /home/nfs_qube2 nfs > rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr > > > > Thanks for any advice > > > > > > > > > > -- > NEU: FreePhone - 0ct/min Handyspartarif mit > Geld-zurück-Garantie! > Jetzt informieren: http://www.gmx.net/de/go/freephone > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] samba with nfs mount in "path" and MS Office App's
Hi Listmembers Problem: Windows Clients having problems with Microsoft Office App's (Excel, Word) when the files are on the Samba Share "documents" (which is mapped through a Windows Drive Letter on the client). Two clients have MS Office 2003. They can open doc Documents but when they want to save it error messages are appearing (message about to less space on drive, but this is a false errormessage). Saving of documents does not work and MS Office crashes. Sometimes Word is crashing already when the user opens a document. Same with XLS document. One client has MS Office 2010. He can open and save changes in Microsoft Office Documents. But saving changes, even small ones, are taking 30 seconds. Clients which are using Open Office having no problems. They can even open and saving the MS Office document without Problem. Also with other Applications there are no problems (ex. opening pdf documents, txt documents with notepad etc.). So the problems occurs only while working with this share "documents" and using Microsoft Office. I've got another share on the same Samba Server named "personal". The Microsoft Office clients have no problems on this share. The only difference is that the "path" from "personal" share in smb.conf is not a NFS Mount but a location on the harddisk of the server itselve (ext3 partition). So the problem has something to do with using Samba shares which have their path on NFS Mounts. System environment: Centos 5.x Server Samba Version 3.0.33 ***Samba Config [global] workgroup = OfficeLAN server string = qube2 lanman auth = Yes client NTLMv2 auth = Yes time server = Yes add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u logon script = %U.bat logon drive = M: logon home = \\%N\profiles\%U logon path = domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins server = 10.0.10.12 wins support = Yes ldap ssl = no admin users = @sysadmin printer admin = @sysadmin cups options = raw [documents] comment = documents path = /home/nfs_qube2/documents force user = admin read only = No guest ok = Yes *** The "documents" share is on a NFS Mount which is mounted in /etc/fstab 10.0.10.13:/vol/nfs_qube2/office-data /home/nfs_qube2 nfs rw,bg,vers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr Thanks for any advice -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba