[PATCH] make smbstatus exit without error when no connections
ever happened to a server
bubulle at debian.org
Fri Oct 5 05:05:37 GMT 2007
Quoting Christian Perrier (bubulle at debian.org):
> This patch is about to celebrate its 5th birthday in Debian..:-)
Sigh, I accidentally lost Volker's followup to my mail so I'll answer
it blindly now.
I'm not personnally in position to adapt the patch to 3.2.0
(ERRSKILL). Doing it is probably quite trivial for you guys, assuming
the issue is still there.
However, I have to mention that a very quick attempt to reproduce the
issue did indeed fail:
1) stop the daemons
2) remove locking.tdb
3) start the daemons
-->locking.tdb is re-created even when no clients connected
So, the issue of smbstatus spitting a badmessage when launched on a
system where no clients ever connected does seem to be a non issue
I guess that some code elsewhere creates locking.tdb when daemons are
So, if that's confirmed, this patch becomes irrelevant and could be
dropped in Debian (yay!).
More information about the samba-technical