LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2007, 05:00 PM   #1
HeReigns
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Samba + File locking


Server: RedHat ESv3
Kernel: 2.4.21-9.ELsmp
Samba: version 3.0.9-1.3E.13.2
Clients: XP Professional spk 2 MS Office 2003

The server shares out several shares on the network. For a reason I can't seem to figure out some .xls files get "locked" when a user makes a change and saves it. Next time they go back into the file they receive a prompt...

opportunities.xls is locked for editing, Open read-only or notify.

smbstatus shows the file is in fact locked.
4081 DENY_WRITE 0x2019f RDWR NONE /data/documents/Managers/opportunities.csv

Below is the pertinent smb.conf file information:
[global]
guest account = nobody
printing = bsd
debug level = 1
printcap name = /etc/printcap
max log size = 50
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
share modes = yes
security = ADS
workgroup = domain
realm = domain.com
preferred master = no
wins server = 192.168.1.24
encrypt passwords = yes
netbios name = servername
netbios aliases = doc usr
load printers = yes
preserve case = yes
utmp = yes

password server = server1.domain.com
hosts allow = 192.168.1.

# performance tuning
getwd cache = yes

[documents]
comment = network documents
path = /data/documents
browseable = yes
write list = @users
read list = @users
read only = no
public = yes
directory mode = 6777
veto files = /*Ne*:/~$*.doc/
force create mode = 0777
force directory mode = 0777
force group = users

Any ideas you may have would be greatly appreciated!

Last edited by HeReigns; 06-25-2007 at 06:39 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba on NFS File Locking Cottsay Linux - Software 4 01-26-2012 06:15 AM
Samba and file locking problems Skip-DMP Linux - Server 2 01-22-2007 11:23 PM
Samba and file locking Phaethar Linux - General 1 12-23-2006 07:03 PM
Samba / File locking question mfeoli Linux - Networking 5 04-13-2004 04:06 PM
File locking over Samba rtaft Linux - Software 0 12-30-2003 11:02 AM


All times are GMT -5. The time now is 08:44 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration