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

I got this problem when I tried to login with ftp user
I have SAMBA install, according to this treat:

http://ubuntuforums.org/showthread.php?t=2214042

it could bee necessary to remove this:
sudo apt-get remove libpam-smbpass

After doing that, it works fine again.