ubuntu 14.04: no talloc stackframe … leaking memory

Error Ubuntu 14.04: no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory

Appears when login, to fix it:

1. remove libpam-smbpass
sudo apt-get remove libpam-smbpass

Based on:
https://bugs.launchpad.net/ubuntu/+s…a/+bug/1257186, and
https://bugs.launchpad.net/ubuntu/+s…o/+bug/1274680

the libpam-smbpass package will sync system users and passwords with the Samba user database.

2. You can also fix this issue while keeping libpam-smbpass installed by running “pam-auth-update” and remove “SMB password synchronization”. Got that solution from Thomas (reusch) on https://bugs.launchpad.net/ubuntu/+s…a/+bug/1257186