[Samba] Segmentation Fault when trying to set root samba password, IPA as a backend

Jeremy Allison jra at samba.org
Wed Mar 2 00:44:10 UTC 2016

On Tue, Mar 01, 2016 at 10:11:15PM +0000, Rowland penny wrote:
> On 01/03/16 21:35, Garming Sam wrote:
> >Hi Rowland,
> >
> >This new segfault seems unrelated to the previous one. It's probably
> >something like a double free, which typically shouldn't be that hard to
> >fix. If you try running the tool under valgrind, it should provide
> >enough information to fix the issue.
> >
> >
> >Cheers,
> >
> >Garming
> >
> Who or what is 'valgrind' ?
> I know what a 'valvegrinder' is, but I don't think you mean this :-D


Install the valgrind tool from your local repository.

> Or to put it another way, How?
> I am quite prepared to try and get the required info, but somebody
> else is going to have to write the 'C' code.

I'll help :-).


valgrind bin/smbpasswd <parameters>

and valgrind should print out the source code
line where we mess up.

More information about the samba mailing list