Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have samba installed on a Debian server of mine, and I use libpam-smbpass to keep UNIX and SMB passwords in sync. Passwords are only changed from unix logins via shell at the moment.

However, just now I added a new user and gave it a password. The libpam-smbpass module tells me that:

pam_smbpass(passwd:chauthtok): Failed to find entry for user XXX.

This is natural, as I most likely need to add an entry to the passwd.tdb file that is used by Samba for authentication before that entry can be changed automatically by pam_smbpass.

However, samba-common in Debian no longer contains the smbpasswd utility!

So, my question is: How should I add a SMB password entry for a newly created user in Debian unstable today?

share|improve this question
up vote 5 down vote accepted

Looks like it's in the samba-common-bin package: package page, filelist

Appears this was spun out of samba-common with version 2:3.4.0~pre2-1 of the samba source package (changelog):

samba (2:3.4.0~pre2-1) experimental; urgency=low

[ Jelmer Vernooij ]
* Split binaries out of samba-common into samba-common-bin.
Closes: #524661

share|improve this answer
Perfect, managed to miss that package for some odd reason. Thanks. – Nakedible Jan 24 '10 at 15:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .