A patch to add support for smbd_server_connection_terminate_ex to allow for explicit debug messages in some cases

Andrew Bartlett abartlet at samba.org
Mon May 27 20:14:56 MDT 2013


On Mon, 2013-05-27 at 19:11 -0700, Richard Sharpe wrote:
> On Sun, May 26, 2013 at 4:48 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> > On Fri, 2013-05-17 at 01:24 -0700, Richard Sharpe wrote:
> >> Hi folks,
> >>
> >> Here is a patch that makes life easier. I have modified one exit,
> >> although there are a couple more where we should also scream on exit.
> >>
> >> If it looks OK, please push.
> >
> > I still don't understand why you don't want to just call exit_server()
> > in this case.
> 
> Good point. Out of respect for the way things are currently done I
> tried to follow some semblance of the same.

So the main difference with exit_server() is that it is for really fatal
conditions that should just never happen, where we want a backtrace and
core for inspection, to ensure it doesn't happen again.  Is this one of
those?

That's what I was trying to find out.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list