Displaying 1 result from an estimated 1 matches for "testsambashar".
Did you mean:
testsambashare
2002 Oct 29
1
strange locks
...lines to smb.conf:
kernel op locks = false
op locks = false
strict locking = true
so I could see some locks from the unix level.
It worked sorta, I see the locks for big files
(but not the locks I was expecting), but for little
files it shows nothing:
# ./lock_list /opt/testsambashare/mattest.doc
# ./lock_list /opt/testsambashare/contents.doc
0 22086 W 2147483539 1
0 22086 W 2147483559 1
0 22086 W 2147483599 1
(the output is l_sysid, l_pid, l_start, l_len of struct flock)
(lock_list.c source given below)
The only difference I can see is that the contents....