smbpasswd (also pdbedit) segfault

Jelmer Vernooij jelmer at nl.linux.org
Wed Apr 23 00:27:03 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

IIRC Simo saw this bug too and found what it caused - I'm not sure whether 
that has been committed yet.

Jelmer

On Wednesday 23 April 2003 01:47, John H Terpstra wrote:
> I started 3.0.0 with no tdb files present. Using:
>
> 	passdb backend = tdbsam, guest
>
> Ran:
> 	smbpasswd -a root
>
> This is the result from smbpasswd comiled with -g:
>
> (gdb) bt
> #0  0x402ae8c9 in wait4 () from /lib/libc.so.6
> #1  0x40329c90 in __DTOR_END__ () from /lib/libc.so.6
> #2  0x40252034 in system () from /lib/libc.so.6
> #3  0x080bc8c8 in smb_panic ()
> #4  0x080a9db8 in unix_strlower ()
> #5  0x080a3434 in tdbsam_getsampwnam (my_methods=0xfffffe00,
> user=0x815dc98, sname=0xfffffe00 <Address 0xfffffe00 out of bounds>)
>     at passdb/pdb_tdb.c:589
> #6  0x08094a9a in context_getsampwnam (context=0xfffffe00,
> sam_acct=0x815dc98, username=0x80fc640 "root") at
> passdb/pdb_interface.c:153
> #7  0x08095c46 in pdb_getsampwnam (sam_acct=0xfffffe00,
>     username=0xfffffe00 <Address 0xfffffe00 out of bounds>)
>     at passdb/pdb_interface.c:619
> #8  0x0809405d in local_password_change ()
> #9  0x0805d3ca in password_change (remote_mach=0xbfffe3fc "(B!@\bì\v@\026",
>     username=0x80fc640 "root",
>     old_passwd=0xfffffe00 <Address 0xfffffe00 out of bounds>,
>     new_pw=0xbfffeb50 "", local_flags=0) at utils/smbpasswd.c:307
> #10 0x0805d7e2 in process_root (local_flags=135251520) at
> utils/smbpasswd.c:463 #11 0x0805db7c in main (argc=-512, argv=0xfffffe00)
> at utils/smbpasswd.c:601 #12 0x402294a2 in __libc_start_main () from
> /lib/libc.so.6
>
> - John T.

- -- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
 02:26:23 up 10 days,  2:47, 12 users,  load average: 2.19, 1.70, 1.58
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+pd3YPa9Uoh7vUnYRAop1AJ911k7mv4YQKHu1ER3H9NM5DNkOewCeITcF
Pb91FeXYyTL4BAqqHer6yF8=
=AHnJ
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list