file locking problem with samba
Hi,
I running a Gentoo linux server in a charter high school running Windows 2000 desktops. We have a software for tracking grades, attendance, etc and the database is stored on the server. The software is only allowing one person in at a time because it is locking the database file whenever someone starts the application on their desktop. The server shows a deny_all on the *.ldb database file whenever a user starts the application, which makes it so that no one else can access the software. The software allows multiple users to connect if we store the database file on a windows machine, but when we stick the file on the linux server, it will only allow one person to access it. I tried tweaking the smb.conf file and changing the file locks, but I cant seem to figure it out. The 'teachers' share is where the database resides. Here is my smb.conf as it stands now. Please help.
[global]
oplocks = no
locking = no
veto oplock files = *.ldb *.mdb *.lhd *.bak
[homes]
writeable = yes
path = /home
[scripts]
path = /halima/scripts
[teachers]
oplocks = no
valid users = @teachers,@management,@office
path = /halima/teachers
write list = @teachers,@management,@office
[management]
valid users = @management
path = /halima/management
write list = @management
deny hosts = office teachers
[hr]
comment = Human Resources
valid users = @management
path = /halima/hr
write list = @management
[office]
valid users = @office,@management,@daycare
write list = @office,@management,@daycare
path = /halima/office
[temp]
comment = Temporary storage
writeable = yes
path = /halima/temp
write list = @sysadmins
[web]
writeable = yes
valid users = micah,root,@apache,@sysadmins
path = /var/www/localhost/htdocs
write list = micah,root,@apache,@sysadmins
|