rpcclient samtest with SP4 server - core dump

Andrej Borsenkow borsenkow.msk at sni.de
Tue Nov 24 13:58:36 GMT 1998

smb: \> samtest

SAM Encryption Test
zsh: bus error (core dumped)  rpcclient -S its_server -W ITS
bor at itsrm2:~%> gdb -c core -se =rpcclient
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "mips-sni-sysv4"...
Core was generated by `rpcclient -S its_server -W ITS'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libsocket.so...done.
Reading symbols from /lib/libnsl.so...done.
Reading symbols from /lib/libresolv.so...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/tcpip.so...done.
#0  0x804db88 in malloc ()
(gdb) where
#0  0x804db88 in malloc ()
#1  0x441dbc in mem_buf_init (buf=0x7ffea720, margin=0) at
#2  0x47b190 in prs_init (ps=0x7ffea720, size=16, align=4 '\004', margin=0,
    io=0) at rpc_parse/parse_prs.c:51
#3  0x4678a4 in rpc_pipe_bind (cli=0x505da0,
    pipe_name=0x4e4704 "\\PIPE\\samr", abstract=0x7ffea7c4,
    transfer=0x7ffea7b0, my_name=0x4f77a0 "ITSRM2")
    at rpc_client/cli_pipe.c:863
#4  0x468458 in cli_nt_session_open (cli=0x505da0,
    pipe_name=0x4e4704 "\\PIPE\\samr") at rpc_client/cli_pipe.c:1075
#5  0x409320 in cmd_sam_test (info=0x7ffeb3e8) at rpcclient/cmd_samr.c:156
#6  0x40266c in do_command (info=0x7ffeb3e8, tok=0x7ffeaa20 "samtest",
    line=0x7ffeab38 "samtest\n") at rpcclient/rpcclient.c:259
#7  0x402bf4 in process (info=0x7ffeb3e8, cmd_str=0x4e2c98 "")
    at rpcclient/rpcclient.c:356
#8  0x403c50 in main (argc=5, argv=0x7ffeeebc) at rpcclient/rpcclient.c:764

More information about the samba-technical mailing list