backtrace of smbpasswd segfault

Luke Kenneth Casson Leighton lkcl at switchboard.net
Wed Jul 7 18:24:45 GMT 1999


On Thu, 8 Jul 1999, Volker Lendecke wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Ok, here it is:
> 
> root at server:/usr/local/samba-pdc/bin> gdb smbpasswd
> GDB is free software and you are welcome to distribute copies of it
>  under certain conditions; type "show copying" to see the conditions.
> There is absolutely no warranty for GDB; type "show warranty" for details.
> GDB 4.16.patched (i486-unknown-linux --target i486-linux), 
> Copyright 1996 Free Software Foundation, Inc...
> (gdb) set args -a -n vlendec
> (gdb) run
> Starting program: /usr/local/samba-pdc/bin/smbpasswd -a -n vlendec
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x805cb25 in add_smbfilepwd_entry (newpwd=0x0) at passdb/smbpass.c:307
> 307	  new_entry_length = strlen(newpwd->unix_name) + 1 + 15 + 1 + 32 + 1 + 32 + 1 + NEW_PW_FORMAT_SPACE_PADDED_LEN + 1 + 13 + 2;
> (gdb) bt
> #0  0x805cb25 in add_smbfilepwd_entry (newpwd=0x0) at passdb/smbpass.c:307

pwdb_smb_map_names() returned NULL, here.  you need to check the log files
to find out why.

> #1  0x805baf9 in add_smbpwd_entry (newpwd=0xbfffefdc) at passdb/passdb.c:211




More information about the samba-ntdom mailing list