LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba File share locking problem (https://www.linuxquestions.org/questions/linux-software-2/samba-file-share-locking-problem-204824/)

Adam_equip 07-14-2004 04:20 AM

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.

schoeppchen 07-14-2004 08:42 AM

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
log level = 3

which should produce a lot of logging to the file. If this is still not enough, increase the value!

vmikalinis 07-14-2004 09:09 AM

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?

vmikalinis 07-14-2004 09:14 AM

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.