Comment 6 for bug 1327846

Revision history for this message
DasBastard (spamthisnameplease) wrote : Re: Samba,Ubuntu 14.04,smbpasswd,failed to open var/libsamba/private/secrets.tdb

Happened to me also under similar circumstances.

All you need to do is the following

sudo mkdir /var/lib/samba/private

sudo touch /var/lib/samba/private/secrets.tdb

then you can add your user