LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2004, 12:31 PM   #1
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Rep: Reputation: 15
Question 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
 
Old 11-24-2004, 03:46 PM   #2
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Anyone?
 
Old 11-24-2004, 06:24 PM   #3
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
We have a share at work which hosts several MS-Access databases without problems, ...

[shared]
path = /usrdata/shared
nt acl support = No
oplocks = No
level2 oplocks = No


HTH
Mad
 
Old 11-29-2004, 03:25 PM   #4
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks for the suggestion. I tried it and I'm still having the same problem. Can anyone offer any other suggestions?
 
Old 11-29-2004, 04:00 PM   #5
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I just changed the 'teachers' share with this as a last ditch effort and I still cannot connect more than one person at a time to the database.

[teachers]
oplocks = no
blocking locks = no
level2 oplocks = no
strict locking = no
locking = no
valid users = @teachers,@management,@office
path = /halima/teachers
write list = @teachers,@management,@office

I restarted the samba server on my Gentoo box and I still cant connect more than one person at a time to the database. Is there a setting somewhere else in the server that could be affecting this?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba File share locking problem Adam_equip Linux - Software 3 07-14-2004 09:14 AM
Samba / File locking question mfeoli Linux - Networking 5 04-13-2004 04:06 PM
samba 3.0 locking ash4stuff Linux - Software 0 04-04-2004 04:50 AM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM
File locking over Samba rtaft Linux - Software 0 12-30-2003 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration