"Bad talloc magic value" [Was: Upgrade from S3 to a Samba4 DC]

Adam Tauno Williams awilliam at whitemice.org
Thu Oct 27 06:52:31 MDT 2011

Quoting Adam Tauno Williams <awilliam at whitemice.org>:
> Quoting Adam Tauno Williams <awilliam at whitemice.org>:
>> On Tue, 2011-09-20 at 08:16 -0700, Andrew Bartlett wrote:
>>> On Mon, 2011-09-19 at 22:20 +0200, Pavel Herrmann wrote:
>>>> On Monday 19 of September 2011 16:03:20 Adam Tauno Williams wrote:
>>>> > Quoting Adam Tauno Williams <awilliam at whitemice.org>:
>>>> > linux-hvej:~ # /opt/s4/sbin/samba-tool user setpassword administrator
>>>> > New Password:
>>>> > Changed password OK
>>>> >   --- kinit says my password expired, and can't change it (???
>>>> > linux-hvej:~ # kinit administrator at MICORE.US
>>>> > Password for administrator at MICORE.US:
>>>> > Password expired.  You must change it now.
>>>> > Enter new password:
>>>> > Enter it again:
>>>> > kinit: Password has expired while getting initial credentials
>>>> you can try setting passwords to never expir
>>>> samba-tool pwsettings set --max-pwd-age=0
>>> If this is required, it means that the password polices were not
>>> upgraded correctly.  This was a bug in earlier versions of this tool,
>>> but I thought it had been fixed.
>>> If this is still happening with current GIT, can you get me the ldif of
>>> your domain object?  I want to check that the maxPwdAge is is negative
>>> nanoseconds, not positive seconds.  (NTTIME vs unix time).
>> I'll update my git, rebuild, and import again [hopefully today, but it
>> may take a couple of days]/
> I finally got back to my AD migration.  After pulling the git and  
> rebuilding the import now fails completely.
> linux-hvej:~ # samba-tool domain samba3upgrade --dbdir=/tmp/x   
> /tmp/x/smb.conf
> Reading smb.conf
> Provisioning
> no talloc stackframe around, leaking memory
> Exporting account policy
> Exporting groups
> talloc: access after free error - first free may be at ?? [wonky characters]
> Bad talloc magic value - access after free
> Aborted
> 4.0.0alpha18-GIT-1d53109

It I change debug level to 10 I can capture the attached output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S3_to_S4_domain_upgrade_20111027_1d53109.out
Type: application/octet-stream
Size: 20017 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20111027/4e7b13c5/attachment.obj>

More information about the samba-technical mailing list