Bug 4338 - Allow file locks to be reset
Summary: Allow file locks to be reset
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.21c
Hardware: x86 Linux
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2007-01-12 14:53 UTC by Leon Stringer
Modified: 2007-01-12 14:53 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Leon Stringer 2007-01-12 14:53:26 UTC
There appears to be no clean way to close/reset locks on files accessed through Samba shares. I've had situations where a user cannot open a file for editing as it is reported as being already open (often by the same user). smbstatus shows the file lock and pid, but the pid appears to be specific to the client host. If that host has multiple users (i.e. a terminal server) then I cannot kill that pid to release the lock without causing other problems.

NT 4's Server Manager lists open resources on a server and allows you to close them. It would be nice if Samba allowed you to remove specific locks when you were sure (or fairly sure at least!) that these were no longer in use, but due to some problem, you were prevented from editing the file.