"smbcontrol smbd shutdown" not working in samba 4.3

Guru Prasad gp22online at gmail.com
Tue Sep 20 12:29:09 UTC 2016


Hi Volker,

Thank you very much for the reply..

I could just see the wait4() call when i do a "smbcontrol smbd shutdown"

root at debian:/# strace -p 5656
Process 5656 attached - interrupt to quit
wait4(-1,

Thanks
Guru


On Tue, Sep 20, 2016 at 5:08 PM, Volker Lendecke <vl at samba.org> wrote:

> On Tue, Sep 20, 2016 at 04:22:27PM +0530, Guru Prasad wrote:
> > sendmsg(5, {msg_name(110)={sa_family=AF_FILE,
> > path="/etc/samba/private/msg.sock/5656"}, msg_iov(3)=[{"\0\0\0\0\0\0\0\
> 0",
> > 8},
> > {"\30\26\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0\0\0\0\
> 0\n\34\0\0\0\0\0\0"...,
> > 52}, {NULL, 0}], msg_controllen=0, msg_flags=0}, 0) = 60
>
> Samba has change the messaging mechanism. This sendmsg is the shutdown
> signal. Can you strace the target process with strace -p <pid> while
> you send the smbcontrol and see what it does?
>
> Thanks, Volker
>


More information about the samba-technical mailing list