[Pkg-samba-maint] Bug#498301: [samba] Failed to modify password entry for user pcguest (pdb_getsampwnam (TDB): error fetching database)

Nadav Kavalerchik nadavkav at netvision.net.il
Mon Sep 8 20:23:16 UTC 2008


Package: samba
Version: 2:3.2.3-2
Severity: normal

--- Please enter the report below this line. ---
i was unable to connect from windows vista (from any linux machine i can login 
with no issues !) so i decided to add a new user (for login authentication)
i issued the command "smbpasswd -a pcguest" and got errors :-(

i tried to delete all db files and issue the command again BUT with no 
success.

here is some debug info:

smbpasswd -D 256 -a pcguest
Netbios name list:-
my_netbios_names[0]="LAPTOP"
WARNING: Your 'passdb backend' configuration includes multiple backends.  This
is deprecated since Samba 3.0.23.  Please check WHATSNEW.txt or the 
section 'Passdb
Changes' from the ChangeNotes as part of the Samba HOWTO collection.  Only the 
first
backend (tdbsam) is used.  The rest is ignored.
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend NDS_ldapsam
Successfully added passdb backend 'NDS_ldapsam'
Attempting to register passdb backend NDS_ldapsam_compat
Successfully added passdb backend 'NDS_ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to find an passdb backend to match tdbsam (tdbsam)
Found pdb backend tdbsam
pdb backend tdbsam has a valid init
tdb(/var/lib/samba/secrets.tdb): tdb_transaction_start: nesting 1
Locking key 534543524554532F5349442F4C4150544F50
Allocated locked data 0x0x98f4a98
Unlocking key 534543524554532F5349442F4C4150544F50
New SMB password:
Retype new SMB password:
tdbsam_open: Converting version 0 database to version 3.
Locking key 494E464F2F76657273696F6E00
Allocated locked data 0x0x98f4bb8
Unlocking key 494E464F2F76657273696F6E00
TDBSAM converted successfully.
tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
pdb_getsampwnam (TDB): error fetching database.
 Key: USER_pcguest
Failed to modify password entry for user pcguest





--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        mirror.isoc.org.il 
  500 testing         mirror.isoc.org.il 
  500 kernel-dists-trunk kernel-archive.buildserver.net 
  500 experimental    www.debian-multimedia.org 
    1 experimental    mirror.isoc.org.il 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-================
samba-common         (= 2:3.2.3-2) | 2:3.2.3-2
logrotate                          | 3.7.1-3
libacl1              (>= 2.2.11-1) | 2.2.45-1
libattr1             (>= 2.4.41-1) | 1:2.4.43-1
libc6                   (>= 2.7-1) | 2.7-12
libcomerr2             (>= 1.33-3) | 1.40.3-1
libcups2                (>= 1.3.7) | 1.3.8-1
libgnutls26           (>= 2.4.0-0) | 2.4.0-2
libkrb53           (>= 1.6.dfsg.2) | 1.6.dfsg.3~beta1-2
libldap-2.4-2           (>= 2.4.7) | 2.4.7-4
libpam0g             (>= 0.99.7.1) | 0.99.7.1-5
libpopt0                 (>= 1.14) | 1.14-4
libtalloc1                         | 1.2.0~git20080616-1
libwbclient0          (>= 2:3.2.0) | 2:3.2.0-4
zlib1g                (>= 1:1.1.4) | 1:1.2.3.3.dfsg-12
debconf                  (>= 0.5)  | 1.5.23
 OR debconf-2.0                    | 
libpam-runtime      (>= 0.76-13.1) | 0.99.7.1-5
libpam-modules                     | 0.99.7.1-5
lsb-base                (>= 3.0-6) | 3.2-15
procps                             | 1:3.2.7-6
update-inetd                       | 4.30
adduser                            | 3.110







More information about the Pkg-samba-maint mailing list