Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OP LOCKS and caching 1

Status
Not open for further replies.

stla

IS-IT--Management
Mar 12, 2003
190
DE
Does anyone have any information / experience with this. I have a problem whereby XP Home clients accessing a Access database get different results.

Apparently setting OP locks to No prevents caching but slows things down a bit.

Best regards
 
Make sure you have a backup of your data first!!! I cannot stress this enough. Disabling oplocks can allow Windows clients to step all over your data.

Also, copy your smb.conf file to be safe.

1. Disable oplocks on the workstations.


2. In smb.conf, set the following global parameter.

Oplocks = No

You may have to restart samba to have it take effect.
Check your samba logs before and after, to see if there is any difference in the fighting over file(s).

Matt J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top