Samba File share locking problem
I'm hoping to migrate from novell to samba purley for file sharing.
The server is a 3ghz amp athlon running on a raid 10 arrarry with 2gb of ram. Installed is SUSE 9.0 (9.1 was not availiable when we started this project) with samba 2.2 sharing of a reiserfs partition. I also have acl support enabled. My problem is this If i open an ms access database on on machine a can read and write to it but if another user opens it on another machine i get an error. i have been using multiuser ms access applications for years on various types of server an not had this problem. I have tried oplocks = no and veto oplock files =\*.mdb\ in my smb.conf but still no good. any help very much appreciated. |
Are you sure that the problem is within SAMBA and not within you Windows Clients?
Perhaps debugging output of samba could help by using the following parameters in smb.conf: Code:
log file = /var/log/samba/samba.log |
locks on a db
I remember reading that you should never use locking with any database file. Maybe you should specify no locking for that share. I am not sure what the actual option is "oplocks = no" maybe?
|
oplocks
I think the proper way would be to disable oplocks for certain types of files globally. "veto oplock files = *.db *.xls *.etc"
|
All times are GMT -5. The time now is 09:45 AM. |