Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 is related to the samba PAM module.

There are 2 solutions.

Solution 1:

Remove it with this command:

sudo apt-get remove libpam-smbpass


Solution 2:

Fix it by updating your PAM authentication module with this command:

sudo pam-auth-update

Remove the SMB password synchronization by using Down Arrow a few times and then Space. Then Tab to select OK and Enter.


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:

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.