[PATCH] make smbstatus exit without error when no connections ever happened to a server

Steve Langasek vorlon at debian.org
Sun Oct 21 08:44:38 GMT 2007


On Thu, Oct 04, 2007 at 07:40:34AM +0200, Volker Lendecke wrote:
> On Thu, Oct 04, 2007 at 06:12:09AM +0200, Christian Perrier wrote:
> > This patch is about to celebrate its 5th birthday in
> > Debian..:-)

> I'm afraid this patch is not 100% correct with 3.2
> anymore. locking.tdb is not opened with tdb_open anymore but
> with db_open, so that it can also be handled in the
> cluster. See locking/locking.c:398. Would you mind to change
> it?

Thanks, the fixed patch is attached.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smbstatus-locking.patch
Type: text/x-diff
Size: 777 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20071021/fb6e6144/smbstatus-locking.bin


More information about the samba-technical mailing list