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

After install samba on a new Ubuntu build, I noticed I kept getting this error when I ran any command with sudo

no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
WARNING: Ignoring invalid value 'share' for parameter 'security'

The culprit seems to be libpam-smbpass.  According to launchpad, libpam-smbpass is a
pluggable authentication module for Samba

 This is a module for PAM that enables a system administrator to migrate
 user passwords from the Unix password database to the SMB password
 database as used by Samba, and to subsequently keep the two databases in
 sync. Unlike other solutions, it does this without needing users to log
 in to Samba using cleartext passwords, or requiring them to change their
 existing passwords.
If you have no intention of using it, an easy way to get rid of the error is to remove it,

sudo apt-get remove libpam-smbpass

No comments:

Post a Comment