net-ads-search crashes when tokengroups attribute is requested

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jan 24 19:34:51 UTC 2018

On Wed, Jan 24, 2018 at 08:44:39AM -0800, Jeremy Allison wrote:
> If there is an issue, the fix should be in winbindd and
> not the other callers. It is reasonable to assume that
> calling a search function won't deallocate one of the
> parameters it is passed (and doesn't own :-).

Right. The whole API around ads_struct is pretty much broken from my
point of view. I've tried to tackle that in the past a few times, but
we have enough code using that API that a one-shot approach just won't
work. We need to replace that gradually.


Besuchen Sie die verinice.XP 2018 in Berlin,
Anwenderkonferenz für Informationssicherheit
vom 21.-23.03.2018 im Sofitel Kurfürstendamm
Info & Anmeldung hier:

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen, mailto:kontakt at

More information about the samba-technical mailing list