r10683: Samba3's wbinfo -t should give the correct answer now.
authorVolker Lendecke <vlendec@samba.org>
Mon, 3 Oct 2005 13:46:11 +0000 (13:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:18 +0000 (13:39 -0500)
commit5436d7764812bb632ba865e633005ed07923b57f
tree99e2da5b2ea403beff841ccd4b5f2cfb8ea2bdc0
parentfd8eccd5bf0c742a7809f3991101f4ac75b5e037
r10683: Samba3's wbinfo -t should give the correct answer now.

Tridge, if you have time, you might want to look at the segfault I was still
seeing. Now I store the handle to the netlogon pipe in the global winbind
state and free it on the next entry into check_machacc. The problem seems to
be that talloc_free()ing a pipe struct from within a callback function on that
pipe is not possible. I think I can live with that, but it has been not really
obvious. To reproduce the segfault you might want to look at putting a
talloc_free(state->getcreds->out.netlogon) into
wbsrv_samba3_check_machacc_receive_creds. This is called from a dcerpc
callback function.

In particular if the check failed it would be nice if I could delete the pipe
directly and not post a different event to some winbind queue.

I tried to delete the pipe from a timed event triggered immediately, but this
also fails because the inner loop seems to hit the same event again, calling
it twice.

Volker
source/include/structs.h
source/librpc/rpc/dcerpc_smb.c
source/winbind/wb_async_helpers.c
source/winbind/wb_async_helpers.h
source/winbind/wb_samba3_cmd.c
source/winbind/wb_server.h