Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-04-2005, 04:07 PM   #1
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 50
samba: Unable to open/create TDB passwd


knows someone why I get this error message:
# smbpasswd -a linux
New SMB password:
Retype new SMB password:
Unable to open/create TDB passwd
pdb_getsampwnam: Unable to open TDB passwd (/var/lib/samba/passdb.tdb)!
TDBSAM version too old (0), trying to convert it.
TDBSAM converted successfully.
Added user linux.
I have Debian Sarge Stable and Samba 3.0

Old 07-05-2006, 08:55 PM   #2
Registered: Aug 2004
Location: United Kingdom
Distribution: Debian
Posts: 88

Rep: Reputation: 15
Hello there,

I stumbled across this whilst looking for something else. You get it because passdb.tdb (the tdbsam backend for smbpasswd) is not present. It gets created the first time you use smbpasswd. You should be ok after that.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adduser not working - unable to lock passwd Shin Takeshita Linux - General 4 10-24-2014 05:51 PM
samba /var/lib/samba/unexpected.tdb pecko Linux - Networking 1 04-05-2005 10:51 AM
unable to create files using touch command on remote Win2003 sytem using samba xylo Linux - Networking 4 07-15-2004 11:59 AM
create username and passwd on dedicated server tony286 Linux - General 3 07-18-2003 02:30 PM
passwd: Unable to set failure delay vaibhavk Linux - Security 1 02-04-2002 06:45 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration