Hello, First of all I would like to thank the Samba Project Group for this state of the art software. I would like to thank every body for helping each other out. Please ignore my poor English writing. It is not my native language. Although: I do the best I can.
We use Samba for a while now. We started with version 4.0.6 and updated each time. Now we are at version 4.0.9 and we are planning to update our installation to version 4.1.0. We use Samba 4 as Active Directory Domain Controller. We also got some shares on this same Samba server. We use the share 'profiles' for the user profiles. Everything seems to work well but sometime we got issues with Word-documents. These files get corrupted while working for 45 minutes to a couple of hours. Before we decided to work with roaming profiles I read the Samba-documents about this option. We decided to use folder redirection including local cache (we use desktops and notebooks). I tried a lot of things to solve this issue (with the Word-documents): - re-installed notebook (also replaced HDD; I installed a SSD) - tested network wiring - ran HDD checks (server) - tested switches - changed smb.conf (oplocks, locks, et cetera) - added registry key 'RoundUpWriteTimeOnSync' to client computers at boot time - - REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\NetCache /v RoundUpWriteTimeOnSync /t REG_DWORD /d 00000001 /f Maybe there is somebody who is able to help us with this issue. I have listed our /opt/samba/etc/smb.conf file at the end. Thanks in advance. Bouke [global] workgroup = TH01 realm = TH01.INET netbios name = COMSRV01A server role = active directory domain controller server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 guest account = nobody map to guest = bad user #printing = cups #printcap name = cups kernel oplocks = no [netlogon] path = /opt/samba/var/locks/sysvol/th01.inet/scripts read only = No [sysvol] path = /opt/samba/var/locks/sysvol read only = No [profiles] comment = Profiles path = /data/profiles browsable = no read only = no writable = yes directory mask = 0700 create mask = 0600 # # oplocks are disabled for this share # oplocks = False level2 oplocks = False # # 'blocking locks' set to 'no' for Word documents # blocking locks = no # # do not oplock the following files # veto oplock files = /*.doc*/*.DOC*/*.xls*/*.XLS*/*.txt/*.TXT/*.log/*.LOG/*.csv/*.CSV/*.*-ms/*. *-MS/ # csc policy = documents [pdf-prints] comment = PDF Files path = /data/pdf browsable = yes read only = no writable = yes directory mask = 0775 create mask = 0664 [wpkg] comment = Software Deployment path = /opt/wpkg browsable = no read only = no write list = 3000000,administrator,root directory mask = 0755 create mask = 0644 guest ok = yes strict locking = no oplocks = False level2 oplocks = False blocking locks = no veto oplock files = /*.log/*.LOG/ [packages] comment = Software Packages path = /extra/packages browsable = no read only = no write list = 3000000,administrator,root create mask = 0644 directory mask = 0755 guest ok = yes [wsus] comment = WSUS path = /extra/wsus browsable = no read only = no writelist = 3000000,administrator,root create mask = 0644 directory mask = 0755 guest ok = yes [log] comment = Log Files path = /data/log browsable = no read only = no force create mode = 0664 force directory mode = 0775 guest ok = yes [printers] comment = All Printers path = /opt/samba/var/spool browsable = no public = yes guest ok = yes writable = no printable = yes # Windows clients look for this share name as a source of downloadable # printer drivers [print$] comment = Printer Drivers path = /opt/samba/lib/printers browseable = yes guest ok = no read only = yes write list = root -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba