[Samba] Users can't login on XP workstations
Ari Constancio
ari.constancio at gmail.com
Mon Oct 26 04:01:49 MDT 2009
Hello,
I'm running Samba 3.2.5 on Debian, with tdbsam backend.
For the past few days, I've had trouble with starting Samba (which I
do routinely once a day) but with users unable to login on Windows
workstations.
When this happens, the current smbd.log shows no activity (not even
the "starting samba" event) and the previous day's smbd.log shows
entries like these:
[2009/10/24 19:41:38, 2] auth/auth.c:check_ntlm_password(308)
check_ntlm_password: authentication for user [user1] -> [user1] ->
[user1] succeeded
[2009/10/24 19:41:38, 1] smbd/service.c:make_connection_snum(1198)
pc03 (::ffff:10.0.4.98) connect to service user1 initially as user
user1 (uid=1047, gid=100) (pid 7744)
[2009/10/24 19:41:38, 0] lib/util_tdb.c:tdb_wrap_log(886)
tdb(/etc/samba/passdb.tdb): tdb_rec_read bad magic 0x0 at offset=434412
[2009/10/24 19:41:39, 0] lib/util_tdb.c:tdb_wrap_log(886)
tdb(/etc/samba/passdb.tdb): tdb_rec_read bad magic 0x0 at offset=434412
[2009/10/24 19:41:39, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(919)
pdb_getsampwent: Bad struct samu entry returned from TDB!
*** glibc detected *** /usr/sbin/smbd: free(): invalid pointer: 0x086875f0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7b15624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7b17826]
/usr/sbin/smbd[0x81d2f12]
/usr/sbin/smbd[0x81d31ab]
/usr/sbin/smbd[0x81d32c7]
/usr/sbin/smbd[0x81b2e4e]
/usr/sbin/smbd(pdb_search_entries+0x1f)[0x81b2ed9]
/usr/sbin/smbd[0x8498174]
/usr/sbin/smbd(_samr_QueryDomainInfo+0x45)[0x8498625]
/usr/sbin/smbd[0x81836a7]
/usr/sbin/smbd(api_rpcTNP+0x2b6)[0x818d319]
/usr/sbin/smbd(api_pipe_request+0x238)[0x818d911]
/usr/sbin/smbd[0x8186e75]
/usr/sbin/smbd(write_to_pipe+0x13d)[0x81853fe]
/usr/sbin/smbd[0x841515e]
/usr/sbin/smbd[0x84158c5]
/usr/sbin/smbd(reply_trans+0x726)[0x84164b8]
/usr/sbin/smbd[0x80de146]
/usr/sbin/smbd(smbd_process+0x425)[0x80dfc91]
/usr/sbin/smbd(main+0xfa2)[0x80a747f]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7abd455]
/usr/sbin/smbd[0x80a4511]
======= Memory map: ========
08048000-085ab000 r-xp 00000000 03:02 412969 /usr/sbin/smbd
085ab000-085b3000 r--p 00562000 03:02 412969 /usr/sbin/smbd
085b3000-085bc000 rw-p 0056a000 03:02 412969 /usr/sbin/smbd
085bc000-0868d000 rw-p 085bc000 00:00 0 [heap]
b7400000-b7421000 rw-p b7400000 00:00 0
b7421000-b7500000 ---p b7421000 00:00 0
b7583000-b758f000 r-xp 00000000 03:02 158733 /lib/libgcc_s.so.1
b758f000-b7590000 rw-p 0000b000 03:02 158733 /lib/libgcc_s.so.1
b759a000-b759e000 rw-s 00000000 03:02 399935 /var/run/samba/notify.tdb
b759e000-b75a0000 rw-s 00000000 03:02 399110 /var/lib/samba/share_info.tdb
b75a0000-b75c8000 rw-s 00000000 03:02 396927 /var/run/samba/sessionid.tdb
b75c8000-b75fd000 r--s 00000000 03:02 149184 /var/cache/nscd/group
b75ff000-b760f000 rw-s 00000000 03:02 398657 /var/lib/samba/ntprinters.tdb
b7611000-b762c000 rw-s 00000000 03:02 397816
/var/lib/samba/group_mapping.ldb
b762c000-b7630000 rw-s 00000000 03:02 396878
/var/lib/samba/account_policy.tdb
b7630000-b76fc000 rw-s 00000000 03:02 444482 /etc/samba/passdb.tdb
b76fc000-b7731000 r--s 00000000 03:02 142872 /var/cache/nscd/passwd
b7734000-b7736000 rw-s 00000000 03:02 399107 /var/lib/samba/ntdrivers.tdb
b7736000-b7738000 rw-s 00000000 03:02 399109 /var/lib/samba/ntforms.tdb
b7738000-b7739000 rw-s 00000000 03:02 396911 /var/run/samba/gencache.tdb
b7739000-b7743000 rw-s 00000000 03:02 397754 /var/run/samba/locking.tdb
b7743000-b774d000 rw-s 00000000 03:02 397750 /var/run/samba/brlock.tdb
b774d000-b7763000 rw-s 00000000 03:02 396899 /var/run/samba/connections.tdb
b7763000-b776d000 r-xp 00000000 03:02 159137
/lib/i686/cmov/libnss_files-2.7.so
b776d000-b776f000 rw-p 00009000 03:02 159137
/lib/i686/cmov/libnss_files-2.7.so
b7770000-b7779000 rw-s 00000000 03:02 399093 /var/lib/samba/secrets.tdb
b7779000-b77ae000 r--s 00000000 03:02 149187 /var/cache/nscd/services
b77ae000-b77be000 r--s 00000000 03:02 287468 /usr/share/samba/valid.dat
b77be000-b77c0000 r-xp 00000000 03:02 367177 /usr/lib/gconv/IBM850.so
b77c0000-b77c2000 rw-p 00001000 03:02 367177 /usr/lib/gconv/IBM850.so
b77c2000-b77c4000 r-xp 00000000 03:02 367298 /usr/lib/gconv/UTF-16.so
b77c4000-b77c6000 rw-p 00001000 03:02 367298 /usr/lib/gconv/UTF-16.so
b77c6000-b79c6000 r--p 00000000 03:02 32555 /usr/lib/locale/locale-archive
b79c6000-b79e6000 r--s 00000000 03:02 287573 /usr/share/samba/lowcase.dat
b79e6000-b7a06000 r--s 00000000 03:02 287465 /usr/share/samba/upcase.dat
b7a06000-b7a09000 rw-p b7a06000 00:00 0
b7a09000-b7a6f000 r-xp 00000000 03:02 48762 /usr/lib/libgcrypt.so.11.4.4
b7a6f000-b7a71000 rw-p 00066000 03:02 48762 /usr/lib/libgcrypt.so.11.4.4
b7a71000-b7a74000 r-xp 00000000 03:02 48647 /usr/lib/libgpg-error.so.0.3.0
b7a74000-b7a75000 rw-p 00002000 03:02 48647 /usr/lib/libgpg-error.so.0.3.0
b7a75000-b7a84000 r-xp 00000000 03:02 49414 /usr/lib/libtasn1.so.3.0.15
b7a84000-b7a85000 rw-p 0000e000 03:02 49414 /usr/lib/libtasn1.so.3.0.15
b7a85000-b7a87000 r-xp 00000000 03:02 159407 /lib/libkeyutils-1.2.so
b7a87000-b7a88000 rw-p 00001000 03:02 159407 /lib/libkeyutils-1.2.so
b7a88000-b7a8f000 r-xp 00000000 03:02 50085 /usr/lib/libkrb5support.so.0.1
b7a8f000-b7a90000 rw-p 00006000 03:02 50085 /usr/lib/libkrb5support.so.0.1
b7a90000-b7a91000 rw-p b7a90000 00:00 0
b7a91000-b7aa6000 r-xp 00000000 03:02 48083 /usr/lib/libsasl2.so.2.0.22
b7aa6000-b7aa7000 rw-p 00015000 03:02 48083 /usr/lib/libsasl2.so.2.0.22
b7aa7000-b7bfc000 r-xp 00000000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bfc000-b7bfd000 r--p 00155000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bfd000-b7bff000 rw-p 00156000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bff000-b7c02000 rw-p b7bff000 00:00 0
b7c02000-b7c09000 r-xp 00000000 03:02 47714 /usr/lib/libwbclient.so.0
b7c09000-b7c0b000 rw-p 00006000 03:02 47714 /usr/lib/libwbclient.so.0
b7c0b000-b7c12000 r-xp 00000000 03:02 48297 /usr/lib/libtalloc.so.1.2.0
b7c12000-b7c13000 rw-p 00006000 03:02 48297 /usr/lib/libtalloc.so.1.2.0
b7c13000-b7c1b000 r-xp 00000000 03:02 159850 /lib/libpopt.so.0.0.0
b7c1b000-b7c1c000 rw-p 00007000 03:02 159850 /lib/libpopt.so.0.0.0
b7c1c000-b7c1d000 rw-p b7c1c000 00:00 0
b7c1d000-b7c1f000 r-xp 00000000 03:02 159099 /lib/i686/cmov/libdl-2.7.so
b7c1f000-b7c21000 rw-p 00001000 03:02 159099 /lib/i686/cmov/libdl-2.7.so
b7c21000-b7c36000 r-xp 00000000 03:02 159107 /lib/i686/cmov/libnsl-2.7.so
b7c36000-b7c38000 rw-p 00014000 03:02 159107 /lib/i686/cmov/libnsl-2.7.so
b7c38000-b7c3a000 rw-p b7c38000 00:00 0
b7c3a000-b7c4a000 r-xp 00000000 03:02 159278 /lib/i686/cmov/libresolv-2.7.so
b7c4a000-b7c4c000 rw-p 0000f000 03:02 159278 /lib/i686/cmov/libresolv-2.7.so
b7c4c000-b7c4e000 rw-p b7c4c000 00:00 0
b7c4e000-b7c52000 r-xp 00000000 03:02 159523 /lib/libattr.so.1.1.0
b7c52000-b7c53000 rw-p 00003000 03:02 159523 /lib/libattr.so.1.1.0
b7c53000-b7c59000 r-xp 00000000 03:02 159526 /lib/libacl.so.1.1.0
b7c59000-b7c5a000 rw-p 00005000 03:02 159526 /lib/libacl.so.1.1.0
b7c5a000-b7c64000 r-xp 00000000 03:02 159018 /lib/libpam.so.0.81.12
b7c64000-b7c65000 rw-p 00009000 03:02 159018 /lib/libpam.so.0.81.12
b7c65000-b7c66000 rw-p b7c65000 00:00 0
b7c66000-b7c6f000 r-xp 00000000 03:02 159098 /lib/i686/cmov/libcrypt-2.7.so
b7c6f000-b7c71000 rw-p 00008000 03:02 159098 /lib/i686/cmov/libcrypt-2.7.so
b7c71000-b7c98000 rw-p b7c71000 00:00 0
b7c98000-b7cbc000 r-xp 00000000 03:02 159103 /lib/i686/cmov/libm-2.7.so
b7cbc000-b7cbe000 rw-p 00023000 03:02 159103 /lib/i686/cmov/libm-2.7.so
b7cbe000-b7cd3000 r-xp 00000000 03:02 159275
/lib/i686/cmov/libpthread-2.7.so
b7cd3000-b7cd5000 rw-p 00014000 03:02 159275
/lib/i686/cmov/libpthread-2.7.so
b7cd5000-b7cd7000 rw-p b7cd5000 00:00 0
b7cd7000-b7ceb000 r-xp 00000000 03:02 47716 /usr/lib/libz.so.1.2.3.3
b7ceb000-b7cec000 rw-p 00013000 03:02 47716 /usr/lib/libz.so.1.2.3.3
b7cec000-b7d83000 r-xp 00000000 03:02 49266 /usr/lib/libgnutls.so.26.4.6
b7d83000-b7d89000 rw-p 00097000 03:02 49266 /usr/lib/libgnutls.so.26.4.6
b7d89000-b7dbd000 r-xp 00000000 03:02 48265 /usr/lib/libcups.so.2
b7dbd000-b7dbf000 rw-p 00033000 03:02 48265 /usr/lib/libcups.so.2
b7dbf000-b7dc0000 rw-p b7dbf000 00:00 0
b7dc0000-b7dc2000 r-xp 00000000 03:02 158722 /lib/libcom_err.so.2.1
b7dc2000-b7dc3000 rw-p 00001000 03:02 158722 /lib/libcom_err.so.2.1
b7dc3000-b7de6000 r-xp 00000000 03:02 49623 /usr/lib/libk5crypto.so.3.1
b7de6000-b7de7000 rw-p 00023000 03:02 49623 /usr/lib/libk5crypto.so.3.1
b7de7000-b7e79000 r-xp 00000000 03:02 50083 /usr/lib/libkrb5.so.3.3
b7e79000-b7e7b000 rw-p 00092000 03:02 50083 /usr/lib/libkrb5.so.3.3
b7e7b000-b7ea4000 r-xp 00000000 03:02 49199 /usr/lib/libgssapi_krb5.so.2.2
b7ea4000-b7ea5000 rw-p 00028000 03:02 49199 /usr/lib/libgssapi_krb5.so.2.2
b7ea5000-b7eb1000 r-xp 00000000 03:02 47778 /usr/lib/liblber-2.4.so.2.1.0
b7eb1000-b7eb2000 rw-p 0000c000 03:02 47778 /usr/lib/liblber-2.4.so.2.1.0
b7eb2000-b7ef2000 r-xp 00000000 03:02 48737 /usr/lib/libldap_r-2.4.so.2.1.0
b7ef2000-b7ef4000 rw-p 0003f000 03:02 48737 /usr/lib/libldap_r-2.4.so.2.1.0
b7ef4000-b7ef6000 rw-p b7ef4000 00:00 0
b7ef7000-b7ef8000 rw-s 00000000 03:02 396889 /var/run/samba/messages.tdb
b7ef8000-b7eff000 r--s 00000000 03:02 365321
/usr/lib/gconv/gconv-modules.cache
b7eff000-b7f00000 r--p 03406000 03:02 32555 /usr/lib/locale/locale-archive
b7f00000-b7f01000 rw-p b7f00000 00:00 0
b7f01000-b7f1b000 r-xp 00000000 03:02 159678 /lib/ld-2.7.so
b7f1b000-b7f1d000 rw-p 0001a000 03:02 159678 /lib/ld-2.7.so
bf83e000-bf853000 rw-p bffeb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
[2009/10/24 19:42:47, 2] auth/auth.c:check_ntlm_password(308)
check_ntlm_password: authentication for user [user1] -> [user1] ->
[user1] succeeded
[2009/10/24 19:42:47, 1] smbd/service.c:make_connection_snum(1198)
pc03 (::ffff:10.0.4.98) connect to service user1 initially as user
user1 (uid=1047, gid=100) (pid 7810)
[2009/10/24 19:42:47, 0] lib/util_tdb.c:tdb_wrap_log(886)
tdb(/etc/samba/passdb.tdb): tdb_rec_read bad magic 0x0 at offset=434412
[2009/10/24 19:42:47, 0] lib/util_tdb.c:tdb_wrap_log(886)
tdb(/etc/samba/passdb.tdb): tdb_rec_read bad magic 0x0 at offset=434412
[2009/10/24 19:42:47, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(919)
pdb_getsampwent: Bad struct samu entry returned from TDB!
*** glibc detected *** /usr/sbin/smbd: free(): invalid pointer: 0x086875d0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7b15624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7b17826]
/usr/sbin/smbd[0x81d2f12]
/usr/sbin/smbd[0x81d31ab]
/usr/sbin/smbd[0x81d32c7]
/usr/sbin/smbd[0x81b2e4e]
/usr/sbin/smbd(pdb_search_entries+0x1f)[0x81b2ed9]
/usr/sbin/smbd[0x8498174]
/usr/sbin/smbd(_samr_QueryDomainInfo+0x45)[0x8498625]
/usr/sbin/smbd[0x81836a7]
/usr/sbin/smbd(api_rpcTNP+0x2b6)[0x818d319]
/usr/sbin/smbd(api_pipe_request+0x238)[0x818d911]
/usr/sbin/smbd[0x8186e75]
/usr/sbin/smbd(write_to_pipe+0x13d)[0x81853fe]
/usr/sbin/smbd[0x841515e]
/usr/sbin/smbd[0x84158c5]
/usr/sbin/smbd(reply_trans+0x726)[0x84164b8]
/usr/sbin/smbd[0x80de146]
/usr/sbin/smbd(smbd_process+0x425)[0x80dfc91]
/usr/sbin/smbd(main+0xfa2)[0x80a747f]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7abd455]
/usr/sbin/smbd[0x80a4511]
======= Memory map: ========
08048000-085ab000 r-xp 00000000 03:02 412969 /usr/sbin/smbd
085ab000-085b3000 r--p 00562000 03:02 412969 /usr/sbin/smbd
085b3000-085bc000 rw-p 0056a000 03:02 412969 /usr/sbin/smbd
085bc000-0868d000 rw-p 085bc000 00:00 0 [heap]
b7400000-b7421000 rw-p b7400000 00:00 0
b7421000-b7500000 ---p b7421000 00:00 0
b7583000-b758f000 r-xp 00000000 03:02 158733 /lib/libgcc_s.so.1
b758f000-b7590000 rw-p 0000b000 03:02 158733 /lib/libgcc_s.so.1
b759a000-b759e000 rw-s 00000000 03:02 399935 /var/run/samba/notify.tdb
b759e000-b75a0000 rw-s 00000000 03:02 399110 /var/lib/samba/share_info.tdb
b75a0000-b75c8000 rw-s 00000000 03:02 396927 /var/run/samba/sessionid.tdb
b75c8000-b75fd000 r--s 00000000 03:02 149184 /var/cache/nscd/group
b75ff000-b760f000 rw-s 00000000 03:02 398657 /var/lib/samba/ntprinters.tdb
b7611000-b762c000 rw-s 00000000 03:02 397816
/var/lib/samba/group_mapping.ldb
b762c000-b7630000 rw-s 00000000 03:02 396878
/var/lib/samba/account_policy.tdb
b7630000-b76fc000 rw-s 00000000 03:02 444482 /etc/samba/passdb.tdb
b76fc000-b7731000 r--s 00000000 03:02 142872 /var/cache/nscd/passwd
b7734000-b7736000 rw-s 00000000 03:02 399107 /var/lib/samba/ntdrivers.tdb
b7736000-b7738000 rw-s 00000000 03:02 399109 /var/lib/samba/ntforms.tdb
b7738000-b7739000 rw-s 00000000 03:02 396911 /var/run/samba/gencache.tdb
b7739000-b7743000 rw-s 00000000 03:02 397754 /var/run/samba/locking.tdb
b7743000-b774d000 rw-s 00000000 03:02 397750 /var/run/samba/brlock.tdb
b774d000-b7763000 rw-s 00000000 03:02 396899 /var/run/samba/connections.tdb
b7763000-b776d000 r-xp 00000000 03:02 159137
/lib/i686/cmov/libnss_files-2.7.so
b776d000-b776f000 rw-p 00009000 03:02 159137
/lib/i686/cmov/libnss_files-2.7.so
b7770000-b7779000 rw-s 00000000 03:02 399093 /var/lib/samba/secrets.tdb
b7779000-b77ae000 r--s 00000000 03:02 149187 /var/cache/nscd/services
b77ae000-b77be000 r--s 00000000 03:02 287468 /usr/share/samba/valid.dat
b77be000-b77c0000 r-xp 00000000 03:02 367177 /usr/lib/gconv/IBM850.so
b77c0000-b77c2000 rw-p 00001000 03:02 367177 /usr/lib/gconv/IBM850.so
b77c2000-b77c4000 r-xp 00000000 03:02 367298 /usr/lib/gconv/UTF-16.so
b77c4000-b77c6000 rw-p 00001000 03:02 367298 /usr/lib/gconv/UTF-16.so
b77c6000-b79c6000 r--p 00000000 03:02 32555 /usr/lib/locale/locale-archive
b79c6000-b79e6000 r--s 00000000 03:02 287573 /usr/share/samba/lowcase.dat
b79e6000-b7a06000 r--s 00000000 03:02 287465 /usr/share/samba/upcase.dat
b7a06000-b7a09000 rw-p b7a06000 00:00 0
b7a09000-b7a6f000 r-xp 00000000 03:02 48762 /usr/lib/libgcrypt.so.11.4.4
b7a6f000-b7a71000 rw-p 00066000 03:02 48762 /usr/lib/libgcrypt.so.11.4.4
b7a71000-b7a74000 r-xp 00000000 03:02 48647 /usr/lib/libgpg-error.so.0.3.0
b7a74000-b7a75000 rw-p 00002000 03:02 48647 /usr/lib/libgpg-error.so.0.3.0
b7a75000-b7a84000 r-xp 00000000 03:02 49414 /usr/lib/libtasn1.so.3.0.15
b7a84000-b7a85000 rw-p 0000e000 03:02 49414 /usr/lib/libtasn1.so.3.0.15
b7a85000-b7a87000 r-xp 00000000 03:02 159407 /lib/libkeyutils-1.2.so
b7a87000-b7a88000 rw-p 00001000 03:02 159407 /lib/libkeyutils-1.2.so
b7a88000-b7a8f000 r-xp 00000000 03:02 50085 /usr/lib/libkrb5support.so.0.1
b7a8f000-b7a90000 rw-p 00006000 03:02 50085 /usr/lib/libkrb5support.so.0.1
b7a90000-b7a91000 rw-p b7a90000 00:00 0
b7a91000-b7aa6000 r-xp 00000000 03:02 48083 /usr/lib/libsasl2.so.2.0.22
b7aa6000-b7aa7000 rw-p 00015000 03:02 48083 /usr/lib/libsasl2.so.2.0.22
b7aa7000-b7bfc000 r-xp 00000000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bfc000-b7bfd000 r--p 00155000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bfd000-b7bff000 rw-p 00156000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bff000-b7c02000 rw-p b7bff000 00:00 0
b7c02000-b7c09000 r-xp 00000000 03:02 47714 /usr/lib/libwbclient.so.0
b7c09000-b7c0b000 rw-p 00006000 03:02 47714 /usr/lib/libwbclient.so.0
b7c0b000-b7c12000 r-xp 00000000 03:02 48297 /usr/lib/libtalloc.so.1.2.0
b7c12000-b7c13000 rw-p 00006000 03:02 48297 /usr/lib/libtalloc.so.1.2.0
b7c13000-b7c1b000 r-xp 00000000 03:02 159850 /lib/libpopt.so.0.0.0
b7c1b000-b7c1c000 rw-p 00007000 03:02 159850 /lib/libpopt.so.0.0.0
b7c1c000-b7c1d000 rw-p b7c1c000 00:00 0
b7c1d000-b7c1f000 r-xp 00000000 03:02 159099 /lib/i686/cmov/libdl-2.7.so
b7c1f000-b7c21000 rw-p 00001000 03:02 159099 /lib/i686/cmov/libdl-2.7.so
b7c21000-b7c36000 r-xp 00000000 03:02 159107 /lib/i686/cmov/libnsl-2.7.so
b7c36000-b7c38000 rw-p 00014000 03:02 159107 /lib/i686/cmov/libnsl-2.7.so
b7c38000-b7c3a000 rw-p b7c38000 00:00 0
b7c3a000-b7c4a000 r-xp 00000000 03:02 159278 /lib/i686/cmov/libresolv-2.7.so
b7c4a000-b7c4c000 rw-p 0000f000 03:02 159278 /lib/i686/cmov/libresolv-2.7.so
b7c4c000-b7c4e000 rw-p b7c4c000 00:00 0
b7c4e000-b7c52000 r-xp 00000000 03:02 159523 /lib/libattr.so.1.1.0
b7c52000-b7c53000 rw-p 00003000 03:02 159523 /lib/libattr.so.1.1.0
b7c53000-b7c59000 r-xp 00000000 03:02 159526 /lib/libacl.so.1.1.0
b7c59000-b7c5a000 rw-p 00005000 03:02 159526 /lib/libacl.so.1.1.0
b7c5a000-b7c64000 r-xp 00000000 03:02 159018 /lib/libpam.so.0.81.12
b7c64000-b7c65000 rw-p 00009000 03:02 159018 /lib/libpam.so.0.81.12
b7c65000-b7c66000 rw-p b7c65000 00:00 0
b7c66000-b7c6f000 r-xp 00000000 03:02 159098 /lib/i686/cmov/libcrypt-2.7.so
b7c6f000-b7c71000 rw-p 00008000 03:02 159098 /lib/i686/cmov/libcrypt-2.7.so
b7c71000-b7c98000 rw-p b7c71000 00:00 0
b7c98000-b7cbc000 r-xp 00000000 03:02 159103 /lib/i686/cmov/libm-2.7.so
b7cbc000-b7cbe000 rw-p 00023000 03:02 159103 /lib/i686/cmov/libm-2.7.so
b7cbe000-b7cd3000 r-xp 00000000 03:02 159275
/lib/i686/cmov/libpthread-2.7.so
b7cd3000-b7cd5000 rw-p 00014000 03:02 159275
/lib/i686/cmov/libpthread-2.7.so
b7cd5000-b7cd7000 rw-p b7cd5000 00:00 0
b7cd7000-b7ceb000 r-xp 00000000 03:02 47716 /usr/lib/libz.so.1.2.3.3
b7ceb000-b7cec000 rw-p 00013000 03:02 47716 /usr/lib/libz.so.1.2.3.3
b7cec000-b7d83000 r-xp 00000000 03:02 49266 /usr/lib/libgnutls.so.26.4.6
b7d83000-b7d89000 rw-p 00097000 03:02 49266 /usr/lib/libgnutls.so.26.4.6
b7d89000-b7dbd000 r-xp 00000000 03:02 48265 /usr/lib/libcups.so.2
b7dbd000-b7dbf000 rw-p 00033000 03:02 48265 /usr/lib/libcups.so.2
b7dbf000-b7dc0000 rw-p b7dbf000 00:00 0
b7dc0000-b7dc2000 r-xp 00000000 03:02 158722 /lib/libcom_err.so.2.1
b7dc2000-b7dc3000 rw-p 00001000 03:02 158722 /lib/libcom_err.so.2.1
b7dc3000-b7de6000 r-xp 00000000 03:02 49623 /usr/lib/libk5crypto.so.3.1
b7de6000-b7de7000 rw-p 00023000 03:02 49623 /usr/lib/libk5crypto.so.3.1
b7de7000-b7e79000 r-xp 00000000 03:02 50083 /usr/lib/libkrb5.so.3.3
b7e79000-b7e7b000 rw-p 00092000 03:02 50083 /usr/lib/libkrb5.so.3.3
b7e7b000-b7ea4000 r-xp 00000000 03:02 49199 /usr/lib/libgssapi_krb5.so.2.2
b7ea4000-b7ea5000 rw-p 00028000 03:02 49199 /usr/lib/libgssapi_krb5.so.2.2
b7ea5000-b7eb1000 r-xp 00000000 03:02 47778 /usr/lib/liblber-2.4.so.2.1.0
b7eb1000-b7eb2000 rw-p 0000c000 03:02 47778 /usr/lib/liblber-2.4.so.2.1.0
b7eb2000-b7ef2000 r-xp 00000000 03:02 48737 /usr/lib/libldap_r-2.4.so.2.1.0
b7ef2000-b7ef4000 rw-p 0003f000 03:02 48737 /usr/lib/libldap_r-2.4.so.2.1.0
b7ef4000-b7ef6000 rw-p b7ef4000 00:00 0
b7ef7000-b7ef8000 rw-s 00000000 03:02 396889 /var/run/samba/messages.tdb
b7ef8000-b7eff000 r--s 00000000 03:02 365321
/usr/lib/gconv/gconv-modules.cache
b7eff000-b7f00000 r--p 03406000 03:02 32555 /usr/lib/locale/locale-archive
b7f00000-b7f01000 rw-p b7f00000 00:00 0
b7f01000-b7f1b000 r-xp 00000000 03:02 159678 /lib/ld-2.7.so
b7f1b000-b7f1d000 rw-p 0001a000 03:02 159678 /lib/ld-2.7.so
bf83e000-bf853000 rw-p bffeb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
[2009/10/24 19:43:55, 2] auth/auth.c:check_ntlm_password(308)
check_ntlm_password: authentication for user [user1] -> [user1] ->
[user1] succeeded
[2009/10/24 19:43:55, 1] smbd/service.c:make_connection_snum(1198)
pc03 (::ffff:10.0.4.98) connect to service user1 initially as user
user1 (uid=1047, gid=100) (pid 7836)
[2009/10/24 19:43:55, 0] lib/util_tdb.c:tdb_wrap_log(886)
tdb(/etc/samba/passdb.tdb): tdb_rec_read bad magic 0x0 at offset=434412
[2009/10/24 19:43:55, 0] lib/util_tdb.c:tdb_wrap_log(886)
tdb(/etc/samba/passdb.tdb): tdb_rec_read bad magic 0x0 at offset=434412
[2009/10/24 19:43:55, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(919)
pdb_getsampwent: Bad struct samu entry returned from TDB!
*** glibc detected *** /usr/sbin/smbd: double free or corruption
(out): 0x0865b2e8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7b15624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7b17826]
/usr/sbin/smbd[0x81d2f12]
/usr/sbin/smbd[0x81d31ab]
/usr/sbin/smbd[0x81d32c7]
/usr/sbin/smbd[0x81b2e4e]
/usr/sbin/smbd(pdb_search_entries+0x1f)[0x81b2ed9]
/usr/sbin/smbd(_samr_QueryDisplayInfo+0x52e)[0x84a2946]
/usr/sbin/smbd[0x817e8c3]
/usr/sbin/smbd(api_rpcTNP+0x2b6)[0x818d319]
/usr/sbin/smbd(api_pipe_request+0x238)[0x818d911]
/usr/sbin/smbd[0x8186e75]
/usr/sbin/smbd(write_to_pipe+0x13d)[0x81853fe]
/usr/sbin/smbd[0x841515e]
/usr/sbin/smbd[0x84158c5]
/usr/sbin/smbd(reply_trans+0x726)[0x84164b8]
/usr/sbin/smbd[0x80de146]
/usr/sbin/smbd(smbd_process+0x425)[0x80dfc91]
/usr/sbin/smbd(main+0xfa2)[0x80a747f]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7abd455]
/usr/sbin/smbd[0x80a4511]
======= Memory map: ========
08048000-085ab000 r-xp 00000000 03:02 412969 /usr/sbin/smbd
085ab000-085b3000 r--p 00562000 03:02 412969 /usr/sbin/smbd
085b3000-085bc000 rw-p 0056a000 03:02 412969 /usr/sbin/smbd
085bc000-0866c000 rw-p 085bc000 00:00 0 [heap]
b7400000-b7421000 rw-p b7400000 00:00 0
b7421000-b7500000 ---p b7421000 00:00 0
b7583000-b758f000 r-xp 00000000 03:02 158733 /lib/libgcc_s.so.1
b758f000-b7590000 rw-p 0000b000 03:02 158733 /lib/libgcc_s.so.1
b759a000-b759e000 rw-s 00000000 03:02 399935 /var/run/samba/notify.tdb
b759e000-b75a0000 rw-s 00000000 03:02 399110 /var/lib/samba/share_info.tdb
b75a0000-b75c8000 rw-s 00000000 03:02 396927 /var/run/samba/sessionid.tdb
b75c8000-b75fd000 r--s 00000000 03:02 149184 /var/cache/nscd/group
b75ff000-b760f000 rw-s 00000000 03:02 398657 /var/lib/samba/ntprinters.tdb
b7611000-b762c000 rw-s 00000000 03:02 397816
/var/lib/samba/group_mapping.ldb
b762c000-b7630000 rw-s 00000000 03:02 396878
/var/lib/samba/account_policy.tdb
b7630000-b76fc000 rw-s 00000000 03:02 444482 /etc/samba/passdb.tdb
b76fc000-b7731000 r--s 00000000 03:02 142872 /var/cache/nscd/passwd
b7734000-b7736000 rw-s 00000000 03:02 399107 /var/lib/samba/ntdrivers.tdb
b7736000-b7738000 rw-s 00000000 03:02 399109 /var/lib/samba/ntforms.tdb
b7738000-b7739000 rw-s 00000000 03:02 396911 /var/run/samba/gencache.tdb
b7739000-b7743000 rw-s 00000000 03:02 397754 /var/run/samba/locking.tdb
b7743000-b774d000 rw-s 00000000 03:02 397750 /var/run/samba/brlock.tdb
b774d000-b7763000 rw-s 00000000 03:02 396899 /var/run/samba/connections.tdb
b7763000-b776d000 r-xp 00000000 03:02 159137
/lib/i686/cmov/libnss_files-2.7.so
b776d000-b776f000 rw-p 00009000 03:02 159137
/lib/i686/cmov/libnss_files-2.7.so
b7770000-b7779000 rw-s 00000000 03:02 399093 /var/lib/samba/secrets.tdb
b7779000-b77ae000 r--s 00000000 03:02 149187 /var/cache/nscd/services
b77ae000-b77be000 r--s 00000000 03:02 287468 /usr/share/samba/valid.dat
b77be000-b77c0000 r-xp 00000000 03:02 367177 /usr/lib/gconv/IBM850.so
b77c0000-b77c2000 rw-p 00001000 03:02 367177 /usr/lib/gconv/IBM850.so
b77c2000-b77c4000 r-xp 00000000 03:02 367298 /usr/lib/gconv/UTF-16.so
b77c4000-b77c6000 rw-p 00001000 03:02 367298 /usr/lib/gconv/UTF-16.so
b77c6000-b79c6000 r--p 00000000 03:02 32555 /usr/lib/locale/locale-archive
b79c6000-b79e6000 r--s 00000000 03:02 287573 /usr/share/samba/lowcase.dat
b79e6000-b7a06000 r--s 00000000 03:02 287465 /usr/share/samba/upcase.dat
b7a06000-b7a09000 rw-p b7a06000 00:00 0
b7a09000-b7a6f000 r-xp 00000000 03:02 48762 /usr/lib/libgcrypt.so.11.4.4
b7a6f000-b7a71000 rw-p 00066000 03:02 48762 /usr/lib/libgcrypt.so.11.4.4
b7a71000-b7a74000 r-xp 00000000 03:02 48647 /usr/lib/libgpg-error.so.0.3.0
b7a74000-b7a75000 rw-p 00002000 03:02 48647 /usr/lib/libgpg-error.so.0.3.0
b7a75000-b7a84000 r-xp 00000000 03:02 49414 /usr/lib/libtasn1.so.3.0.15
b7a84000-b7a85000 rw-p 0000e000 03:02 49414 /usr/lib/libtasn1.so.3.0.15
b7a85000-b7a87000 r-xp 00000000 03:02 159407 /lib/libkeyutils-1.2.so
b7a87000-b7a88000 rw-p 00001000 03:02 159407 /lib/libkeyutils-1.2.so
b7a88000-b7a8f000 r-xp 00000000 03:02 50085 /usr/lib/libkrb5support.so.0.1
b7a8f000-b7a90000 rw-p 00006000 03:02 50085 /usr/lib/libkrb5support.so.0.1
b7a90000-b7a91000 rw-p b7a90000 00:00 0
b7a91000-b7aa6000 r-xp 00000000 03:02 48083 /usr/lib/libsasl2.so.2.0.22
b7aa6000-b7aa7000 rw-p 00015000 03:02 48083 /usr/lib/libsasl2.so.2.0.22
b7aa7000-b7bfc000 r-xp 00000000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bfc000-b7bfd000 r--p 00155000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bfd000-b7bff000 rw-p 00156000 03:02 159095 /lib/i686/cmov/libc-2.7.so
b7bff000-b7c02000 rw-p b7bff000 00:00 0
b7c02000-b7c09000 r-xp 00000000 03:02 47714 /usr/lib/libwbclient.so.0
b7c09000-b7c0b000 rw-p 00006000 03:02 47714 /usr/lib/libwbclient.so.0
b7c0b000-b7c12000 r-xp 00000000 03:02 48297 /usr/lib/libtalloc.so.1.2.0
b7c12000-b7c13000 rw-p 00006000 03:02 48297 /usr/lib/libtalloc.so.1.2.0
b7c13000-b7c1b000 r-xp 00000000 03:02 159850 /lib/libpopt.so.0.0.0
b7c1b000-b7c1c000 rw-p 00007000 03:02 159850 /lib/libpopt.so.0.0.0
b7c1c000-b7c1d000 rw-p b7c1c000 00:00 0
b7c1d000-b7c1f000 r-xp 00000000 03:02 159099 /lib/i686/cmov/libdl-2.7.so
b7c1f000-b7c21000 rw-p 00001000 03:02 159099 /lib/i686/cmov/libdl-2.7.so
b7c21000-b7c36000 r-xp 00000000 03:02 159107 /lib/i686/cmov/libnsl-2.7.so
b7c36000-b7c38000 rw-p 00014000 03:02 159107 /lib/i686/cmov/libnsl-2.7.so
b7c38000-b7c3a000 rw-p b7c38000 00:00 0
b7c3a000-b7c4a000 r-xp 00000000 03:02 159278 /lib/i686/cmov/libresolv-2.7.so
b7c4a000-b7c4c000 rw-p 0000f000 03:02 159278 /lib/i686/cmov/libresolv-2.7.so
b7c4c000-b7c4e000 rw-p b7c4c000 00:00 0
b7c4e000-b7c52000 r-xp 00000000 03:02 159523 /lib/libattr.so.1.1.0
b7c52000-b7c53000 rw-p 00003000 03:02 159523 /lib/libattr.so.1.1.0
b7c53000-b7c59000 r-xp 00000000 03:02 159526 /lib/libacl.so.1.1.0
b7c59000-b7c5a000 rw-p 00005000 03:02 159526 /lib/libacl.so.1.1.0
b7c5a000-b7c64000 r-xp 00000000 03:02 159018 /lib/libpam.so.0.81.12
b7c64000-b7c65000 rw-p 00009000 03:02 159018 /lib/libpam.so.0.81.12
b7c65000-b7c66000 rw-p b7c65000 00:00 0
b7c66000-b7c6f000 r-xp 00000000 03:02 159098 /lib/i686/cmov/libcrypt-2.7.so
b7c6f000-b7c71000 rw-p 00008000 03:02 159098 /lib/i686/cmov/libcrypt-2.7.so
b7c71000-b7c98000 rw-p b7c71000 00:00 0
b7c98000-b7cbc000 r-xp 00000000 03:02 159103 /lib/i686/cmov/libm-2.7.so
b7cbc000-b7cbe000 rw-p 00023000 03:02 159103 /lib/i686/cmov/libm-2.7.so
b7cbe000-b7cd3000 r-xp 00000000 03:02 159275
/lib/i686/cmov/libpthread-2.7.so
b7cd3000-b7cd5000 rw-p 00014000 03:02 159275
/lib/i686/cmov/libpthread-2.7.so
b7cd5000-b7cd7000 rw-p b7cd5000 00:00 0
b7cd7000-b7ceb000 r-xp 00000000 03:02 47716 /usr/lib/libz.so.1.2.3.3
b7ceb000-b7cec000 rw-p 00013000 03:02 47716 /usr/lib/libz.so.1.2.3.3
b7cec000-b7d83000 r-xp 00000000 03:02 49266 /usr/lib/libgnutls.so.26.4.6
b7d83000-b7d89000 rw-p 00097000 03:02 49266 /usr/lib/libgnutls.so.26.4.6
b7d89000-b7dbd000 r-xp 00000000 03:02 48265 /usr/lib/libcups.so.2
b7dbd000-b7dbf000 rw-p 00033000 03:02 48265 /usr/lib/libcups.so.2
b7dbf000-b7dc0000 rw-p b7dbf000 00:00 0
b7dc0000-b7dc2000 r-xp 00000000 03:02 158722 /lib/libcom_err.so.2.1
b7dc2000-b7dc3000 rw-p 00001000 03:02 158722 /lib/libcom_err.so.2.1
b7dc3000-b7de6000 r-xp 00000000 03:02 49623 /usr/lib/libk5crypto.so.3.1
b7de6000-b7de7000 rw-p 00023000 03:02 49623 /usr/lib/libk5crypto.so.3.1
b7de7000-b7e79000 r-xp 00000000 03:02 50083 /usr/lib/libkrb5.so.3.3
b7e79000-b7e7b000 rw-p 00092000 03:02 50083 /usr/lib/libkrb5.so.3.3
b7e7b000-b7ea4000 r-xp 00000000 03:02 49199 /usr/lib/libgssapi_krb5.so.2.2
b7ea4000-b7ea5000 rw-p 00028000 03:02 49199 /usr/lib/libgssapi_krb5.so.2.2
b7ea5000-b7eb1000 r-xp 00000000 03:02 47778 /usr/lib/liblber-2.4.so.2.1.0
b7eb1000-b7eb2000 rw-p 0000c000 03:02 47778 /usr/lib/liblber-2.4.so.2.1.0
b7eb2000-b7ef2000 r-xp 00000000 03:02 48737 /usr/lib/libldap_r-2.4.so.2.1.0
b7ef2000-b7ef4000 rw-p 0003f000 03:02 48737 /usr/lib/libldap_r-2.4.so.2.1.0
b7ef4000-b7ef6000 rw-p b7ef4000 00:00 0
b7ef7000-b7ef8000 rw-s 00000000 03:02 396889 /var/run/samba/messages.tdb
b7ef8000-b7eff000 r--s 00000000 03:02 365321
/usr/lib/gconv/gconv-modules.cache
b7eff000-b7f00000 r--p 03406000 03:02 32555 /usr/lib/locale/locale-archive
b7f00000-b7f01000 rw-p b7f00000 00:00 0
b7f01000-b7f1b000 r-xp 00000000 03:02 159678 /lib/ld-2.7.so
b7f1b000-b7f1d000 rw-p 0001a000 03:02 159678 /lib/ld-2.7.so
bf83e000-bf853000 rw-p bffeb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
...
I appreciate any pointers on how to troubleshoot this.
Thank you,
Ari Constancio
More information about the samba
mailing list