[Samba] Bug 6870 resurfaced in Samba 4.2.10
jra at samba.org
Tue Oct 18 17:08:43 UTC 2016
On Tue, Oct 18, 2016 at 10:06:34AM +0100, Rebecca Gellman wrote:
> On 2016-10-17 19:37, Jeremy Allison wrote:
> > On Mon, Oct 17, 2016 at 11:27:12AM -0700, Jeremy Allison wrote:
> >> No, it's not so bad. libcli/cldap/cldap.c is clearly supposed to cope
> >> with caller.cldap == NULL - you can see this in the function
> >> cldap_search_state_destructor() which checks:
> >> if (s->caller.cldap)
> >> before doing anything. Can you try this (amended) patch ?
> > Scratch that - EBADPATCH (sorry :-).
> > Here's something I think might actually work :-).
> > Sorry,
> > Jeremy.
> Glad you checked that... my next response would be "I have a gdb
> backtrace here that disagrees with you...." ;)
> This patch looks good. net ads workgroup did indeed give the right
> output, and allowed the rest of the steps in our sequence to complete
> with no segfauls.
> This is part of the Smoothwall domain join mechanism, so there was
> somewhat of an urgency on this one :)
> Thank you very much for your assistance; let me know if you need any
> further patches testing on this bug.
No, that looks great - I'll get this fix back-ported to all
Thanks very much for your help on this !
More information about the samba