Segfault trigged by "password must change"

Thomas Hood jdthood at
Wed Jul 11 05:29:20 MDT 2012

On Wed, Jun 27, 2012 at 5:48 AM, Andrew Bartlett <abartlet at> wrote:
> On Tue, 2012-06-26 at 16:30 +0200, Thomas Hood wrote:
> > Running samba4 4.0.0~alpha18.dfsg1-4ubuntu2 as domain controller under
> > Ubuntu 12.04, every time a user tries to log in when her password has
> > expired a segfault occurs.  Here's a backtrace.  Please let me know if
> > this has been fixed in later releases --- I didn't see anything
> > relevant in release notes --- or let me know what additional
> > information you might need to help find the bug.
> I've added a test for this, and I don't see this on current master.  Can
> you try beta2 and see if I've sorted it out with some related KDC
> changes (we did do some fixes in this area, but they should not have
> been segfaults).

Beta2 still segfaults.  Backtrace looks the same.

[2012/07/11 13:15:48,  2] ../source4/auth/sam.c:207(authsam_account_ok)
  sam_account_ok: Account for user 'foo at BAR' password must change!.
*** glibc detected *** samba: munmap_chunk(): invalid pointer:
0x00007f59904d4068 ***
======= Backtrace: =========
======= Memory map: ========

# dpkg -l samba4 | grep ^ii
ii  samba4   4.0.0~beta2+dfsg1-1   SMB/CIFS file, NT domain and active
directory server (version 4)

More information about the samba-technical mailing list