Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I’m running Ubuntu 14.04 Server with a LAMP stack, Samba, and FTP, no GUI, just SSHing into the server and working on it. I’m having trouble searching down a solution to this issue, but as far as I can Google for it, it might have something to do with Samba.

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

The warning doesn't pop up at any kind of regular intervals or in response to the same or repeated actions. It pops up between things I’m doing - changing directories, editing files, copying stuff, and it often pops up when I first log in.

Has anyone got experience fixing this issue?

share|improve this question
When do you see that message? Do you see it on a window or what? –  Lucio Jun 5 '14 at 2:23
i'm running Ubuntu 14.04 server edition... no GUI... just SSHing into the server and working on it. It pops up between things i'm doing. changing directories, editing files, copying stuff.. often pops up when i first log in –  RandomOzzy Jun 5 '14 at 2:32
It is usually a good idea to search the internet for the error message. I did it, fount this post and at the end there were 2 possible solutions. –  sмurf Jun 5 '14 at 3:36

3 Answers 3

This problem related to the samba PAM module.

You have 2 solution at all.

Solution 1#: Remove it( as described below )

$ sudo apt-get remove libpam-smbpass

Solution 2#: Fix it( as described below )

Update your PAM authentication module by the following code and remove "SMB password synchronization"

$ pam-auth-update

References :
[1] http://ubuntuforums.org/showthread.php?t=2214042
[2] https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1257186

share|improve this answer
And what if I want to use SMB password synchronization? –  Dims Oct 3 '14 at 13:03
Then, Use of solution 2 –  MasterPiece Oct 3 '14 at 13:44
What is solution #2? It is said "remove SMB password synchronization"? –  Dims Oct 3 '14 at 17:38
No, just update the PAM Authentication module, Google it. –  MasterPiece Oct 9 '14 at 18:31
Both “solutions”, as you call them, actually disable password synchronization. Not a great idea, really. –  kirelagin Dec 11 '14 at 9:28

Looks like the folks at Samba have address the bug and have it staged for the next release: https://bugzilla.samba.org/show_bug.cgi?id=8449

share|improve this answer

Have you tried running fsck on your partitions? That particular error for me seemed to have disappeared after running it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.