mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
6539f1e4cd
Call depth is not working for winbindd_list_users_send as expected, it is visible in the flow traces: -> process_request_send -> winbindd_list_users_send -> wb_query_user_list_send It should look like: -> process_request_send -> winbindd_list_users_send -> wb_query_user_list_send Tevent call depth tracking internal implementation relies on the fact that the talloc memory context has type "struct tevent_req". Then it can obtain the depth from the parent and increment it by one. The implementation of winbindd_list_users_send() is passing to wb_query_user_list_send() context of type "struct winbindd_list_users_state", and from there the parent "struct tevent_req" cannot be identified. So we will pass as TALLOC_CTX 'state' instead of 'state->domains'. After the call, we can reparent back. Signed-off-by: Pavel Filipenský <pfilipensky@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org> Autobuild-Date(master): Thu Jul 20 10:38:19 UTC 2023 on atb-devel-224 |
||
---|---|---|
.. | ||
auth | ||
build | ||
client | ||
exports | ||
groupdb | ||
include | ||
intl | ||
lib | ||
libads | ||
libgpo/gpext | ||
libnet | ||
librpc | ||
libsmb | ||
locale | ||
locking | ||
modules | ||
nmbd | ||
param | ||
passdb | ||
printing | ||
profile | ||
registry | ||
rpc_client | ||
rpc_server | ||
rpcclient | ||
script | ||
selftest | ||
services | ||
smbd | ||
torture | ||
utils | ||
web | ||
winbindd | ||
.clang_complete | ||
.dmallocrc | ||
.indent.pro | ||
Doxyfile | ||
mainpage.dox | ||
smbadduser.in | ||
wscript | ||
wscript_build | ||
wscript_configure_system_ncurses |