The Samba-Bugzilla – Attachment 18487 Details for
Bug 15749
winbindd should call process_set_title() for locator child
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for v4-21-test
bfixes-tmp421.txt (text/plain), 2.42 KB, created by
Stefan Metzmacher
on 2024-10-31 14:23:19 UTC
(
hide
)
Description:
Patch for v4-21-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2024-10-31 14:23:19 UTC
Size:
2.42 KB
patch
obsolete
>From c96d446b89bf41be79a840e36b338616fe24c0a3 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Wed, 16 Oct 2024 07:45:21 +0000 >Subject: [PATCH] s3:winbindd: call process_set_title() for locator child > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=15749 > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> > >Autobuild-User(master): Stefan Metzmacher <metze@samba.org> >Autobuild-Date(master): Thu Oct 31 14:02:39 UTC 2024 on atb-devel-224 > >(cherry picked from commit e4e3f05cd7d6fdc98a24f592a099f7d24136788d) >--- > source3/winbindd/winbindd_dual.c | 2 ++ > source3/winbindd/winbindd_locator.c | 9 +++++++++ > source3/winbindd/winbindd_proto.h | 1 + > 3 files changed, 12 insertions(+) > >diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c >index d4e1995f9280..c27fa2653f2e 100644 >--- a/source3/winbindd/winbindd_dual.c >+++ b/source3/winbindd/winbindd_dual.c >@@ -1790,6 +1790,8 @@ static bool fork_domain_child(struct winbindd_child *child) > process_set_title("wb[%s]", "domain child [%s]", child_domain->name); > } else if (is_idmap_child(child)) { > process_set_title("wb-idmap", "idmap child"); >+ } else if (is_locator_child(child)) { >+ process_set_title("wb-locator", "locator child"); > } > > /* Handle online/offline messages. */ >diff --git a/source3/winbindd/winbindd_locator.c b/source3/winbindd/winbindd_locator.c >index c915bf280c48..277a68bbbd8f 100644 >--- a/source3/winbindd/winbindd_locator.c >+++ b/source3/winbindd/winbindd_locator.c >@@ -34,6 +34,15 @@ struct winbindd_child *locator_child(void) > return static_locator_child; > } > >+bool is_locator_child(const struct winbindd_child *child) >+{ >+ if (child == static_locator_child) { >+ return true; >+ } >+ >+ return false; >+} >+ > struct dcerpc_binding_handle *locator_child_handle(void) > { > return static_locator_child->binding_handle; >diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h >index acfbc0543fa3..5b90a7a731f0 100644 >--- a/source3/winbindd/winbindd_proto.h >+++ b/source3/winbindd/winbindd_proto.h >@@ -414,6 +414,7 @@ bool lp_scan_idmap_domains(bool (*fn)(const char *domname, > > NTSTATUS init_locator_child(TALLOC_CTX *mem_ctx); > struct winbindd_child *locator_child(void); >+bool is_locator_child(const struct winbindd_child *child); > struct dcerpc_binding_handle *locator_child_handle(void); > > /* The following definitions come from winbindd/winbindd_misc.c */ >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
slow
:
review+
Actions:
View
Attachments on
bug 15749
: 18487 |
18488