[Samba] secrets.tdb locking fun!

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jun 15 15:14:02 GMT 2007


On Fri, Jun 15, 2007 at 03:19:08PM +0100, Mac wrote:
> 	After much grief today, we'd like to support the 'TODO' note in
> source/lib/util_tdb.c  :-
> 
> /* TODO: If we time out waiting for a lock, it might
>  * be nice to use F_GETLK to get the pid of the
>  * process currently holding the lock and print that
>  * as part of the debugging message. -- mbp */

Not sure if you have Linux, but if you do a "cat
/proc/locks" in that situation would also have helped you.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20070615/3c63e986/attachment.bin


More information about the samba mailing list