Displaying 2 results from an estimated 2 matches for "unlock_share_entry".
2005 Oct 10
6
Dangling MS Access DB Lock Files *.ldb
I have an intermittent problem with dangling MS Access DB lock files.
In a productive environment with N batch queus (each on a separate
Windows XP Professional) a scheduler PC dispatches the work load to
a free queue by means of modifying a simple MS Access DB file
called "PRIM.mdb", which resides on a Samba 3.0.20 share. Each free
queue PC polls the same MS Access DB file every 60
2002 Feb 25
3
PATCH: Samba/Win2K renaming bug
...s\n"));
SAFE_FREE(old_shares);
num_share_modes = get_share_modes(conn, dev, inode, &old_shares);
}
@@ -1332,7 +1361,7 @@
ret = True;
free_and_exit:
-
+ DEBUG(3, ("check_file_sharing: returning %s\n", ret ? "True" : "False"));
unlock_share_entry(conn, dev, inode);
SAFE_FREE(old_shares);
return(ret);
--- ../samba-2.2.3a/source/smbd/reply.c Sat Feb 2 16:46:56 2002
+++ source/smbd/reply.c Mon Feb 25 00:02:37 2002
@@ -3621,12 +3621,19 @@
static NTSTATUS can_rename(char *fname,connection_struct *conn)
{
- if (!CAN_WRITE(conn))
+ DEBU...